AgoraMediaPlayerEvent Constants Reference
Declared in | AgoraMediaPlayerKit.h |
---|
AgoraMediaPlayerEvent
AgoraMediaPlayerEvent,播放器的事件
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
: 开始定位Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSeekComplete
-
1
: 完成定位Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSeekError
-
2
: 定位出错Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventAudioTrackChanged
-
3
: 播放器使用的音轨已发生改变Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventBufferLow
-
6
: 当前缓冲的数据不足以支持播放Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventBufferRecover
-
7
: 当前缓冲的数据刚好能支持播放Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchBegin
-
8
: 开始切换媒体资源Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchComplete
-
9
: 成功切换媒体资源Declared In
AgoraMediaPlayerKit.h
. AgoraMediaPlayerEventSwitchError
-
10
: 切换媒体资源出错Declared In
AgoraMediaPlayerKit.h
.
Declared In
AgoraMediaPlayerKit.h