Speaker off/on in group video call

Hi,

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

Thanks in advance.

Hi,

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).