muteAllRemoteVideoStreams method Null safety

Future<void> muteAllRemoteVideoStreams(
  1. bool mute
)

暂停/恢复接收所有远端视频流。

该接口仅暂停/恢复接收所有远端用户的视频流,但并不释放显示资源,所以如果暂停,视频画面会冻屏在 mute 前的最后一帧。

参数:

mute 是否暂停接收

Implementation

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