setAudioMixingPosition abstract method

Future<void> setAudioMixingPosition(
  1. int pos
)

Sets the audio mixing position.

Call this method to set the playback position of the music file to a different starting position (the default plays from the beginning).

  • pos Integer. The playback position (ms).

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setAudioMixingPosition(int pos);