目录

Event Code

Event Code

Value

Description

PlayerConstants.EventCode.MEDIA_INFO_AUDIO_NOT_PLAYING

201

Audio is not played.

PlayerConstants.EventCode.MEDIA_INFO_VIDEO_NOT_PLAYING

202

Video is not played.

PlayerConstants.EventCode.MEDIA_INFO_BAD_INTERLEAVING

203

Audio and video of a media stream are not stored in interleaved mode.

PlayerConstants.EventCode.UNSEEKABLE

206

The video does not support the seek operation due to some reasons, for example, the video is not ready.

PlayerConstants.EventCode.VIDEO_FIRST_FRAME

207

The first frame of a video starts to be rendered.

PlayerConstants.EventCode.VIDEO_DECODE_LAGGING

208

The video is too complex for the decoder and therefore cannot be decoded quickly. It is likely that only the audio can be played properly.

PlayerConstants.EventCode.MEDIA_INFO_METADATA_UPDATE

209

Metadata was updated.

PlayerConstants.EventCode.MEDIA_INFO_UNSUPPORTED_SUBTITLE

210

Unsupported subtitles.

PlayerConstants.EventCode.MEDIA_INFO_SUBTITLE_TIMED_OUT

211

A timeout occurred when obtaining subtitles.

PlayerConstants.EventCode.MEDIA_INFO_UNKNOWN

212

Unknown information.

PlayerConstants.EventCode.CDN_SWITCH

213

The URL of a video in the CDN is switched.

PlayerConstants.EventCode.BANDWIDTH_UPDATE

214

The bitrate of a video being played is changed.

The new bitrate (int type) is returned through the object of the event code.

PlayerConstants.EventCode.VIDEO_MATCH_PRELOAD

215

Your app starts playing buffered content successfully.

PlayerConstants.EventCode.BITRATE_SWITCH_COMPLETE

216

A bitrate change is complete.

The new bitrate (int type) is returned through the object of the event code.

PlayerConstants.EventCode.CAN_NOT_SUPPORT_PROXY

217

The proxy is not supported.