muteUserAudioVideo method
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> muteUserAudioVideo(String userID, bool mute) async {
return ZegoUIKitCore.shared.muteUserAudioVideo(userID, mute);
}