muteRemoteAudioStream method

  1. @override
Future<void> muteRemoteAudioStream(
  1. String 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(String uid, bool muted) {
  return _invokeMethod('muteRemoteAudioStream', {'uid': uid, 'muted': muted});
}