... | @@ -707,3 +707,35 @@ https://github.com/CCVideo/VOD_Android_SDK/tree/master/doc/api |
... | @@ -707,3 +707,35 @@ https://github.com/CCVideo/VOD_Android_SDK/tree/master/doc/api |
|
```
|
|
```
|
|
在非加密的情况下,加上player.setHttpsPlay(false);
|
|
在非加密的情况下,加上player.setHttpsPlay(false);
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## 6.5 错误码
|
|
|
|
|
|
|
|
```
|
|
|
|
CC定义错误码:
|
|
|
|
int NETWORK_ERROR = -10;//网络错误
|
|
|
|
int PROCESS_FAIL = -11;//过程失败
|
|
|
|
int INVALID_REQUEST = -12;//请求无效
|
|
|
|
int VERIFY_FAIL = -13;//授权验证失败
|
|
|
|
int MEDIA_ERROR_DRM_LOCAL_SERVER = -15;//解密服务失败
|
|
|
|
|
|
|
|
ijkplayer错误码:
|
|
|
|
int MEDIA_INFO_UNKNOWN = 1;//未知信息
|
|
|
|
int MEDIA_INFO_STARTED_AS_NEXT = 2;//播放下一条
|
|
|
|
int MEDIA_INFO_VIDEO_RENDERING_START = 3;//视频开始整备中,准备渲染
|
|
|
|
int MEDIA_INFO_VIDEO_TRACK_LAGGING = 700;//视频日志跟踪
|
|
|
|
int MEDIA_INFO_BUFFERING_START = 701;//开始缓冲中 开始缓冲
|
|
|
|
int MEDIA_INFO_BUFFERING_END = 702;//缓冲结束
|
|
|
|
int MEDIA_INFO_NETWORK_BANDWIDTH = 703;//网络带宽,网速方面
|
|
|
|
int MEDIA_INFO_NOT_SEEKABLE = 801;//不可设置播放位置,直播方面
|
|
|
|
int MEDIA_INFO_UNSUPPORTED_SUBTITLE = 901;//不支持字幕
|
|
|
|
int MEDIA_INFO_SUBTITLE_TIMED_OUT = 902;//字幕超时
|
|
|
|
int MEDIA_INFO_VIDEO_INTERRUPT= -10000;//数据连接中断,一般是视频源有问题或者数据格式不支持,比如音频不是AAC之类的
|
|
|
|
int MEDIA_INFO_VIDEO_ROTATION_CHANGED = 10001;//视频方向改变,视频选择信息
|
|
|
|
int MEDIA_INFO_AUDIO_RENDERING_START = 10002;//音频开始整备中
|
|
|
|
int MEDIA_ERROR_SERVER_DIED = 100;//服务挂掉,视频中断,一般是视频源异常或者不支持的视频类型
|
|
|
|
int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK = 200;//数据错误没有有效的回收
|
|
|
|
int MEDIA_ERROR_IO = -1004;//IO 错误
|
|
|
|
int MEDIA_ERROR_MALFORMED = -1007;比特流不符合相关的编码标准和文件规范
|
|
|
|
int MEDIA_ERROR_UNSUPPORTED = -1010;//数据不支持
|
|
|
|
int MEDIA_ERROR_TIMED_OUT = -110;//数据超时
|
|
|
|
``` |
|
|
|
\ No newline at end of file |