MediaPlayerEvent

Media player events.

Enumerator

PlayerEventSeekBegin
0: The player begins to seek to a new playback position.
PlayerEventSeekComplete
1: The player finishes seeking to a new playback position.
PlayerEventSeekError
2: An error occurs when seeking to a new playback position.
PlayerEventAudioTrackChanged
5: The audio track used by the player has been changed.
PlayerEventBufferLow
6: The currently buffered data is not enough to support playback.
PlayerEventBufferRecover
7: The currently buffered data is just enough to support playback.
PlayerEventFreezeStart
8: The audio or video playback freezes.
PlayerEventFreezeStop
9: The audio or video playback resumes without freezing.
PlayerEventSwitchBegin
10: The player starts switching the media resource.
PlayerEventSwitchComplete
11: Media resource switching is complete.
PlayerEventSwitchError
12: Media resource switching error.
PlayerEventFirstDisplayed
13: The first video frame is rendered.
PlayerEventReachCacheFileMaxCount
14: The cached media files reach the limit in number.
PlayerEventReachCacheFileMaxSize
15: The cached media files reach the limit in aggregate storage space.