Skip to content

4.OnErrorCodeListener

晓龙同学 edited this page Jul 10, 2017 · 1 revision

播放器返回错误码回调

onGetErrorCode

参数:

errorCode - 返回的错误码

void onGetErrorCode(int errorCode)

XL_ERROR_AUDIO_DECODE_SEND_PACKET 3001

XL_ERROR_AUDIO_DECODE_CODEC_NOT_OPENED 3002

XL_ERROR_AUDIO_DECODE_RECIVE_FRAME 3003

XL_ERROR_VIDEO_SW_DECODE_SEND_PACKET 4101

XL_ERROR_VIDEO_SW_DECODE_CODEC_NOT_OPENED 4102

XL_ERROR_VIDEO_SW_DECODE_RECIVE_FRAME 4103

XL_ERROR_VIDEO_HW_MEDIACODEC_RECEIVE_FRAME 501

Clone this wiki locally