静态 Public 成员函数 | |
---|---|
static int | getValue (MediaPlayerError type) |
Private 成员函数 | |
---|---|
MediaPlayerError (int v) |
Private 属性 | |
---|---|
int | value |
详细描述
MediaPlayerError,播放器的错误码
类成员变量说明
PLAYER_ERROR_NONE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_NONE(0)
0
: 没有错误
PLAYER_ERROR_INVALID_ARGUMENTS
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_INVALID_ARGUMENTS(-1)
-1
: 不正确的参数
PLAYER_ERROR_INTERNAL
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_INTERNAL (-2)
-2
: 内部错误
PLAYER_ERROR_NO_RESOURCE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_NO_RESOURCE (-3)
-3
: 没有 resource
PLAYER_ERROR_INVALID_MEDIA_SOURCE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_INVALID_MEDIA_SOURCE (-4)
-4
: 无效的 resource
PLAYER_ERROR_UNKNOWN_STREAM_TYPE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_UNKNOWN_STREAM_TYPE (-5)
-5
: 未知的媒体流类型
PLAYER_ERROR_OBJ_NOT_INITIALIZED
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_OBJ_NOT_INITIALIZED (-6)
-6
: 对象没有初始化
PLAYER_ERROR_CODEC_NOT_SUPPORTED
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_CODEC_NOT_SUPPORTED (-7)
-7
: 解码器不支持该 codec
PLAYER_ERROR_VIDEO_RENDER_FAILED
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_VIDEO_RENDER_FAILED (-8)
-8
: 无效的 renderer
PLAYER_ERROR_INVALID_STATE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_INVALID_STATE (-9)
-9
: 播放器内部状态错误
PLAYER_ERROR_URL_NOT_FOUND
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_URL_NOT_FOUND (-10)
-10
: 未找到该 URL
PLAYER_ERROR_INVALID_CONNECTION_STATE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAYER_ERROR_INVALID_CONNECTION_STATE (-11)
-11
: 播放器与服务器的连接无效
PLAY_ERROR_SRC_BUFFER_UNDERFLOW
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerError.PLAY_ERROR_SRC_BUFFER_UNDERFLOW (-12)
-12
: 播放缓冲区数据不足