Skip to main content
setPlayNewParticipantSound(sound) Prebuilt Custom Call this after load() or join().

Parameters

sound
boolean | number
required
  • true — enable the join sound (default)
  • false — disable the join sound
  • number — play the sound only when the participant count is at or below this value (e.g. 5 plays the sound for small calls but suppresses it once the call grows)

Return value

Returns void.

Example

// Disable the join sound entirely
call.setPlayNewParticipantSound(false);

// Play sound only for calls with 5 or fewer participants
call.setPlayNewParticipantSound(5);

See also