onAudioMixingPositionChanged
Reports the playback progress of a music file.
virtual void onAudioMixingPositionChanged(int64_t position) {}
Details
- Since
- v4.2.0
After you called the startAudioMixing [2/2] method to play a music file, the SDK triggers this callback every two seconds to report the playback progress.
Parameters
- position
- The playback progress (ms).
Returns
- 0: Success.
- < 0: Failure.