muteOthers method

Future<Result<None>> muteOthers({
  1. TrackType track = TrackType.audio,
})

Allows for the muting of all users except current user calling the function.

By default the function will mute the audio tracks of the user but this can be override by passing a track to the function.

Note: The user calling this function must have permission to perform the action else it will result in an error.

Implementation

Future<Result<None>> muteOthers({TrackType track = TrackType.audio}) {
  return _permissionsManager.muteOthers(track: track);
}