muteAllRemoteVideoStreams method

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


mute: Whether to pause receiving

Platform not supported:

  • web


Future<void> muteAllRemoteVideoStreams(bool mute // 是否停止接收
    ) {
  return _cloudChannel!.invokeMethod('muteAllRemoteVideoStreams', {
    "mute": mute,