setAudioMixingPosition abstract method
- @Deprecated('Deprecated since v3.54.1, use RTCAudioEffectPlayer.setPosition and RTCMediaPlayer.setPosition instead')
Sets the starting position of the audio file for audio mixing.
position
: The starting position in ms.
You can get the length of the file with RTCAudioMixingManager.getAudioMixingDuration. The value of the position must be less than the length of the file.
Make sure you have called RTCAudioMixingManager.startAudioMixing before calling this API.
Implementation
@Deprecated(
'Deprecated since v3.54.1, use RTCAudioEffectPlayer.setPosition and RTCMediaPlayer.setPosition instead')
Future<void> setAudioMixingPosition({
required int mixId,
required int position,
});