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.