muteRemoteVideoStream method Null safety

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

Stops/Resumes receiving a specified remote user's video stream.

Note

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(int uid, bool muted) {
  return _invokeMethod('muteRemoteVideoStream', {
    'uid': uid,
    'muted': muted,
  });
}