toggleHardMuteVideo method

Future<void> toggleHardMuteVideo(
  1. String clientId
)

Implementation

Future<void> toggleHardMuteVideo(String clientId) async {
  for (var model in participantsList) {
    if (model.clientId == clientId) {
      model.isVideoMuted = true;
    }
  }
  for (var model in moderatorsList) {
    if (model.clientId == clientId) {
      model.isVideoMuted = true;
    }
  }
  EnxRtc.hardMuteVideo(clientId);

  update();
}