muteAudioPlayback abstract method

  1. @Deprecated('Deprecated since v3.51 and will be deleted in v3.57, use RTCVideo.setPlaybackVolume instead.')
Future<int?> muteAudioPlayback(
  1. bool muteState
)

控制本地音频流播放状态:播放/不播放

本方法仅控制本地收到音频流的播放状态,并不影响本地音频播放设备。

返回值:

  • 0:调用成功;
  • <0:调用失败,具体原因参看 ReturnStatus

Implementation

@Deprecated(
    'Deprecated since v3.51 and will be deleted in v3.57, use RTCVideo.setPlaybackVolume instead.')
Future<int?> muteAudioPlayback(bool muteState);