muteUserVideo method

Future<bool> muteUserVideo(
  1. String userID,
  2. bool mute
)

When the mute is set to true, it means that the device is not actually turned off, but muted. The default value is false, which means the device is turned off. When either the camera or the microphone is muted, the audio and video views will still be visible.

Implementation

Future<bool> muteUserVideo(String userID, bool mute) async {
  return ZegoUIKitCore.shared.muteUserVideo(userID, mute);
}