AgoraMediaPlayerEvent Constants Reference
Declared in | AgoraMediaPlayerKit.h |
---|
AgoraMediaPlayerEvent
AgoraMediaPlayerEvent, reporting the result of the seek operation to the new playback position.
Definition
typedef NS_ENUM(NSInteger, AgoraMediaPlayerEvent ) {
AgoraMediaPlayerEventSeekBegin = 0,
AgoraMediaPlayerEventSeekComplete = 1,
AgoraMediaPlayerEventSeekError = 2,
AgoraMediaPlayerEventAudioTrackChanged = 5,
AgoraMediaPlayerEventBufferLow = 6,
AgoraMediaPlayerEventBufferRecover = 7,
AgoraMediaPlayerEventSwitchBegin = 8,
AgoraMediaPlayerEventSwitchComplete = 9,
AgoraMediaPlayerEventSwitchError = 10,
};
Constants
AgoraMediaPlayerEventSeekBegin
-
0
: Begins to seek to the new playback position.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSeekComplete
-
1
: Seeks to the new playback position.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSeekError
-
2
: Error occurs when seeking to the new playback position.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventAudioTrackChanged
-
5
: The audio track used by the player has been changed.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventBufferLow
-
6
: The currently buffered data is not enough to support playback.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventBufferRecover
-
7
: The currently buffered data is just enough to support playback.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchBegin
-
8
: Starts switching the media resource.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchComplete
-
9
: Media resource switching is complete.Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchError
-
10
: Media resource switching error.Declared In
AgoraMediaPlayerKit.h
.
Declared In
AgoraMediaPlayerKit.h