muteAllRemoteVideoStreamsEx abstract method
Future<void>
muteAllRemoteVideoStreamsEx({
- required bool mute,
- required RtcConnection connection,
Stops or resumes subscribing to all remote users' video streams.
After this method is called successfully, the local user stops or resumes subscribing to all remote users' video streams, including streams from users who join the channel after this method is called.
muteWhether to stop subscribing to all remote users' video streams. true : Stop subscribing to all users' video streams. false : (Default) Subscribe to all users' video streams.connectionConnection 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. See Error Codes for details and resolution suggestions.
Implementation
Future<void> muteAllRemoteVideoStreamsEx(
{required bool mute, required RtcConnection connection});