AgoraAudioMixingReasonCode Constants Reference

Declared in AgoraEnumerates.h
Availability 3.4.0

AgoraAudioMixingReasonCode

The reason for the change of the music file playback state. Reports in the localAudioMixingStateDidChanged callback.

Constants

AgoraAudioMixingReasonCanNotOpen

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

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonTooFrequentCall

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

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonInterruptedEOF

703: The music file playback is interrupted.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonStartedByUser

720: Successfully calls startAudioMixing to play a music file.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonOneLoopCompleted

721: The music file completes a loop playback.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonStartNewLoop

722: The music file starts a new loop playback.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonAllLoopsCompleted

723: The music file completes all loop playback.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonStoppedByUser

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

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonPausedByUser

725: Successfully calls pauseAudioMixing to pause playing the music file.

Declared In AgoraEnumerates.h.

AgoraAudioMixingReasonResumedByUser

726: Successfully calls resumeAudioMixing to resume playing the music file.

Declared In AgoraEnumerates.h.

Availability

3.4.0

Declared In

AgoraEnumerates.h