setVoiceMuted method

void setVoiceMuted(
  1. bool muted
)

Implementation

void setVoiceMuted(bool muted) {
  _microMuted = muted;
  final rtcClient = _webrtcClient;
  if (rtcClient != null) {
    if (muted == true) {
      rtcClient.muteAudio();
    } else {
      rtcClient.unmuteAudio();
    }
  }
}