muteRoomAudioLocally method
To mute the audio of all peers in the room for yourself.
Audio from other peers will be stopped for the local peer after invoking muteRoomAudioLocally.
Note: Other peers can still listen to each other in the room, just you (the local peer) won't listen to any audio from the peers in the room.
Implementation
Future<void> muteRoomAudioLocally() async {
return await PlatformService.invokeMethod(
PlatformMethod.muteRoomAudioLocally);
}