muteAllRemoteAudio abstract method

void muteAllRemoteAudio(
  1. bool mute
)

Pause/Resume playing back all remote users' audio streams

When you mute the audio of all remote users, the SDK will stop playing back all their audio streams and pulling all their audio data.

Parameters:

  • mute(bool):
    • true: mute;
    • false: unmute.

Note

This API works when called either before or after room entry (enterRoom), and the mute status will be reset to false after room exit (exitRoom).

Implementation

void muteAllRemoteAudio(bool mute);