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