toggleHardMuteAudio method
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);
}