muteUnmuteMic method
void
muteUnmuteMic()
Implementation
void muteUnmuteMic() {
if (_localStream != null) {
bool enabled = _localStream!.getAudioTracks()[0].enabled;
_localStream!.getAudioTracks()[0].enabled = !enabled;
} else {
_logger.d("Peer :: No local stream :: Unable to Mute / Unmute");
}
}