Enumeration MediaPlayerEvent

Media player events.

Enumeration Members

PlayerEventAudioTrackChanged: 5

5: The audio track used by the player has been changed.

PlayerEventBufferLow: 6

6: The currently buffered data is not enough to support playback.

PlayerEventBufferRecover: 7

7: The currently buffered data is just enough to support playback.

PlayerEventFirstDisplayed: 13

13: The first video frame is rendered.

PlayerEventFreezeStart: 8

8: The audio or video playback freezes.

PlayerEventFreezeStop: 9

9: The audio or video playback resumes without freezing.

PlayerEventReachCacheFileMaxCount: 14

14: The cached media files reach the limit in number.

PlayerEventReachCacheFileMaxSize: 15

15: The cached media files reach the limit in aggregate storage space.

PlayerEventSeekBegin: 0

0: The player begins to seek to a new playback position.

PlayerEventSeekComplete: 1

1: The player finishes seeking to a new playback position.

PlayerEventSeekError: 2

2: An error occurs when seeking to a new playback position.

PlayerEventSwitchBegin: 10

10: The player starts switching the media resource.

PlayerEventSwitchComplete: 11

11: Media resource switching is complete.

PlayerEventSwitchError: 12

12: Media resource switching error.

Generated using TypeDoc