muteAllRemoteVideoStreamsEx abstract method
Future<void>
muteAllRemoteVideoStreamsEx({
- required bool mute,
- required RtcConnection connection,
Stops or resumes subscribing to the video streams of all remote users.
After successfully calling this method, the local user stops or resumes subscribing to the video streams of all remote users, including all subsequent users.
mute
Whether to stop subscribing to the video streams of all remote users. true : Stop subscribing to the video streams of all remote users. false : (Default) Subscribe to the video streams of all remote users by default.connection
The connection information. See RtcConnection.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> muteAllRemoteVideoStreamsEx(
{required bool mute, required RtcConnection connection});