muteRemoteVideoStream method Null safety

Future<void> muteRemoteVideoStream(
  1. int uid,
  2. bool muted
)

Stops/Resumes receiving the video stream of the specified user.

Parameter uid ID of the remote user whose video stream you want to mute.

Parameter muted Determines whether to receive/stop receiving the video stream of the specified user:

  • true: Stop receiving the video stream of the user.
  • false: (Default) Receive the video stream of the user.

Implementation

@override
Future<void> muteRemoteVideoStream(int uid, bool muted) {
  return _invokeMethod('muteRemoteVideoStream', {
    'uid': uid,
    'muted': muted,
  });
}