muteMic method
Mute microphone for this call
Implementation
Future<void> muteMic(bool mute) async{
_logs?.print('Muting $mute mic of call $myCallId');
try {
await SiprixVoipSdk().muteMic(myCallId, mute);
_isMicMuted = mute;
notifyListeners();
} on PlatformException catch (err) {
_logs?.print('Can\'t mute call. Err: ${err.code} ${err.message}');
return Future.error((err.message==null) ? err.code : err.message!);
}
}