muteAllRemoteVideoStreams method

Future<void> muteAllRemoteVideoStreams(
  1. bool mute
)

暂停/恢复订阅所有远程视频流

该 API 仅暂停/恢复订阅所有远程用户的视频流,但不释放显示资源;因此,如果暂停,视频画面将在 mute 操作前的最后一帧冻结。

参数:

mute:是否暂停接收

不支持:

  • web

Implementation

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