muteRemoteVideoStream method
Stops/Resumes receiving a specified remote user's video stream.
Note
- If you call the RtcEngine.muteAllRemoteVideoStreams method and set set muted as true to stop receiving all remote video streams, ensure that the RtcEngine.muteAllRemoteVideoStreams method is called and set muted as false before calling this method. The RtcEngine.muteAllRemoteVideoStreams method sets all remote streams, while this method sets a specified remote user's stream.
Parameter uid
User ID of the specified remote user.
Parameter muted
Sets whether to receive/stop receiving a specified remote user's video stream:
true
: Stop receiving a specified remote user’s video stream.false
: (Default) Receive a specified remote user’s video stream.
Implementation
@override
Future<void> muteRemoteVideoStream(String uid, bool muted) {
return _invokeMethod('muteRemoteVideoStream', {'uid': uid, 'muted': muted});
}