Enumeration AudioMixingReasonType

The reason why the playback state of the music file changes. Reported in the onAudioMixingStateChanged callback.

Enumeration Members

AudioMixingReasonAllLoopsCompleted: 723

723: The music file completes all loop playback.

AudioMixingReasonCanNotOpen: 701

701: The SDK cannot open the music file. For example, the local music file does not exist, the SDK does not support the file format, or the the SDK cannot access the music file URL.

AudioMixingReasonInterruptedEof: 703

703: The music file playback is interrupted.

AudioMixingReasonOk: 0

0: The SDK opens music file successfully.

AudioMixingReasonOneLoopCompleted: 721

721: The music file completes a loop playback.

AudioMixingReasonStoppedByUser: 724

724: Successfully call stopAudioMixing to stop playing the music file.

AudioMixingReasonTooFrequentCall: 702

702: The SDK opens the music file too frequently. If you need to call startAudioMixing multiple times, ensure that the call interval is more than 500 ms.

Generated using TypeDoc