getAudioMixingCurrentPosition abstract method

  1. @Deprecated('Deprecated since v3.54, use RTCAudioEffectPlayer.getPosition and RTCMediaPlayer.getPosition instead')
Future<int?> getAudioMixingCurrentPosition(
  1. int mixId
)

获取音乐文件播放进度 (ms)

返回值:接口调用结果

  • >0:成功,返回音乐文件播放进度;
  • <0:失败

注意:调用本方法获取音乐文件播放进度前,需要先调用 RTCAudioMixingManager.startAudioMixing 开始播放音乐文件。

Implementation

@Deprecated(
    'Deprecated since v3.54, use RTCAudioEffectPlayer.getPosition and RTCMediaPlayer.getPosition instead')
Future<int?> getAudioMixingCurrentPosition(int mixId);