muteRemoteAudioStream method

  1. @override
Future<void> muteRemoteAudioStream(
  1. int uid,
  2. bool muted
)

Stops/Resumes receiving a specified audio stream.

Note

Parameter uid ID of the specified remote user.

Parameter muted Sets whether to receive/stop receiving the specified remote user's audio stream:

  • true: Stop receiving the specified remote user’s audio stream.
  • false: (Default) Receive the specified remote user’s audio stream.

Implementation

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