muteRemoteAudioStream abstract method
Stops or resumes subscribing to the audio stream of a specified user.
Call this method after joining a channel.
uid
The user ID of the specified user.mute
Whether to subscribe to the specified remote user's audio stream. true : Stop subscribing to the audio stream of the specified user. false : (Default) Subscribe to the audio stream of the specified user.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> muteRemoteAudioStream({required int uid, required bool mute});