muteLocalAudio method

Future<TUIActionCallback> muteLocalAudio()

Implementation

Future<TUIActionCallback> muteLocalAudio() async {
  var result = await liveService.muteLocalAudio();
  if (result.code == TUIError.success) {
    mediaState.isMicrophoneMuted.value = true;
  }
  return result;
}