muteMic method
dynamic
muteMic()
Implementation
muteMic() {
if (_localStream != null) {
bool enabled = _localStream!.getAudioTracks()[0].enabled;
_localStream!.getAudioTracks()[0].enabled = !enabled;
print("this is local ${_localStream!.getAudioTracks()[0].enabled}");
return !enabled;
}
}