muteRemoteAudioStream method

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

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

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

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

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

Implementation

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