Speaker off/on in group video call


How do we turn the speaker off and on in a group video call?

Thanks in advance.


You can turn on/off the local user’s microphone using the room.localParticipant.muteMicrophone() and room.localParticipant.unmuteMicrophone() methods of the Room object (Docs).

To handle this change for all other users and display the user has muted their microphone, listen to the didRemoteAudioSettingsChange event delegate (Docs).