muteAllRemoteVideoStreams abstract method

void muteAllRemoteVideoStreams(
  1. bool mute
)

Pause/Resume subscribing to all remote users' video streams

This API only pauses/resumes receiving all users' video streams but does not release displaying resources; therefore, the video image will freeze at the last frame before it is called.

Parameters:

  • mute(bool):
    • Whether to pause receiving.

Note

This API can be called before room entry, and the pause status will be reset after room exit.

After calling this interface to pause receiving video streams from all users, simply calling the startRemoteView interface will not be able to play the video from a specific user. You need to call muteRemoteVideoStream (false) or muteAllRemoteVideoStreams (false) to resume it.

Implementation

void muteAllRemoteVideoStreams(bool mute);