getAudioMixingDuration abstract method
- @Deprecated('Deprecated since v3.54, use RTCAudioEffectPlayer.getDuration and RTCMediaPlayer.getTotalDuration instead')
- int mixId
获取音乐文件时长 (ms)
返回值:接口调用结果
>0
:成功,返回音乐文件时长;<0
:失败
注意:调用本方法获取音乐文件时长前,需要先调用 RTCAudioMixingManager.preloadAudioMixing 或 RTCAudioMixingManager.startAudioMixing
Implementation
@Deprecated(
'Deprecated since v3.54, use RTCAudioEffectPlayer.getDuration and RTCMediaPlayer.getTotalDuration instead')
Future<int?> getAudioMixingDuration(int mixId);