... | ... | @@ -247,7 +247,7 @@ player.setOnAuthMsgListener(new OnAuthMsgListener() { |
|
|
|
|
|
}
|
|
|
});
|
|
|
```
|
|
|
```
|
|
|
|
|
|
## 4.11 视频压缩功能
|
|
|
|
... | ... | @@ -281,7 +281,7 @@ VideoCompress.compressVideoHigh(filePath, compressOutPut, new VideoCompress.Comp |
|
|
|
|
|
}
|
|
|
});
|
|
|
```
|
|
|
```
|
|
|
|
|
|
```
|
|
|
/**
|
... | ... | @@ -311,7 +311,7 @@ VideoCompress.compressVideoMedium(filePath, compressOutPut, new VideoCompress.Co |
|
|
|
|
|
}
|
|
|
});
|
|
|
```
|
|
|
```
|
|
|
|
|
|
```
|
|
|
/**
|
... | ... | @@ -341,7 +341,7 @@ VideoCompress.compressVideoLow(filePath, compressOutPut, new VideoCompress.Compr |
|
|
|
|
|
}
|
|
|
});
|
|
|
```
|
|
|
```
|
|
|
|
|
|
## 4.12 课堂练习功能
|
|
|
|
... | ... | @@ -572,6 +572,9 @@ player.setOnDreamWinErrorListener(new OnDreamWinErrorListener() { |
|
|
313:上传文件时出现IOException
|
|
|
314:上传结束当前线程时出现InterruptedException
|
|
|
315:上述时请求Spark时出现XmlPullParserException
|
|
|
316:水印文字颜色错误
|
|
|
317:水印文字内容错误
|
|
|
|
|
|
|
|
|
401:片头广告请求失败
|
|
|
402:片头广告Json解析失败
|
... | ... | @@ -587,7 +590,7 @@ player.setOnDreamWinErrorListener(new OnDreamWinErrorListener() { |
|
|
503:DRM加密版本错误
|
|
|
504:源文件不存在
|
|
|
505:加载数据失败
|
|
|
```
|
|
|
```
|
|
|
|
|
|
### 4.17.2 ijkplayer错误码
|
|
|
|
... | ... | @@ -611,4 +614,5 @@ int MEDIA_ERROR_IO = -1004;//IO 错误 |
|
|
int MEDIA_ERROR_MALFORMED = -1007;比特流不符合相关的编码标准和文件规范
|
|
|
int MEDIA_ERROR_UNSUPPORTED = -1010;//数据不支持
|
|
|
int MEDIA_ERROR_TIMED_OUT = -110;//数据超时
|
|
|
``` |
|
|
```
|
|
|
|