toggleHardMuteAudio method

Future<void> toggleHardMuteAudio(
  1. String clientId
)

Implementation

Future<void> toggleHardMuteAudio(String clientId) async {
  for (var model in participantsList) {
    if (model.clientId == clientId) {
      model.isAudioMuted = true;
    }
  }
  for (var model in moderatorsList) {
    if (model.clientId == clientId) {
      model.isAudioMuted = true;
    }
  }

  EnxRtc.hardMuteAudio(clientId);
}