toggleMuteVideo method

Future<void> toggleMuteVideo()

Implementation

Future<void> toggleMuteVideo() async {
  var status = await Permission.camera.status;
  if (status.isDenied) {
    await Permission.camera.request();
  }
  //  isMuteVideo = !isMuteVideo;

  await EnxRtc.muteSelfVideo(!isVideoMute);
}