diff --git a/README.md b/README.md index be26c61bdabe519a73d830b178b2bbebdb217897..a8e5bb83ea0c31f4100145a996dafddc868b3d0d 100644 --- a/README.md +++ b/README.md @@ -43,21 +43,21 @@ #### A、直接引入 ``` //完整版引入 -compile 'com.shuyu:GSYVideoPlayer:2.1.3' +compile 'com.shuyu:GSYVideoPlayer:3.0.0' ``` #### B、添加java和你想要的so支持: ``` -compile 'com.shuyu:gsyVideoPlayer-java:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-java:3.0.0' //根据你的需求 -compile 'com.shuyu:gsyVideoPlayer-armv5:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-armv7a:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-arm64:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-x64:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-x86:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-armv5:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-armv7a:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-arm64:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-x64:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-x86:3.0.0' ``` @@ -67,9 +67,9 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情 C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。 ``` -compile 'com.shuyu:gsyVideoPlayer-java:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-java:3.0.0' -compile 'com.shuyu:gsyVideoPlayer-ex_so:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-ex_so:3.0.0' ``` @@ -120,7 +120,7 @@ compile 'com.shuyu:gsyVideoPlayer-ex_so:2.1.3' ## 五、近期版本 -### 3.0.0(2018-01-xx) +### 3.0.0(2018-01-14) 1、增肌PlayerManager,更新为ExoPlayer2,优化对ExoPlayer2的支持。 diff --git a/UPDATE_VERSION.md b/UPDATE_VERSION.md index 7368435f0132d03aef5422da198391b2e921b185..d8f2cbc1f2508f3c5851981bfb43d4d5ca6fe7e0 100644 --- a/UPDATE_VERSION.md +++ b/UPDATE_VERSION.md @@ -1,5 +1,86 @@ ## 下方个版本说明,可以当做简单的wiki使用~,效果可参考DEMO。 +### 3.0.0(2018-01-14) + +1、增肌PlayerManager,更新为ExoPlayer2,优化对ExoPlayer2的支持。 + +2、增加系统播放器AndroidMediaPlayer支持 + +3、增对列表增加setUpLazy方法,优化列表中可能的滑动卡顿 +``` + /** + * 在点击播放的时候才进行真正setup + */ + public boolean setUpLazy(String url, boolean cacheWithPlay, File cachePath, Map mapHeadData, String title) + +``` +4、优化GL渲染和处理切换渲染效果崩溃。 + +5、优化触摸的音量、亮度、进度的弹出框,优化可自定义程度 +``` + /** + * 触摸进度dialog的layoutId + * 继承后重写可返回自定义 + * 有自定义的实现逻辑可重载showProgressDialog方法 + */ + protected int getProgressDialogLayoutId() + /** + * 触摸进度dialog的进度条id + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showProgressDialog方法 + */ + protected int getProgressDialogProgressId() + + /** + * 触摸进度dialog的当前时间文本 + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showProgressDialog方法 + */ + protected int getProgressDialogCurrentDurationTextId() + + /** + * 触摸进度dialog全部时间文本 + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showProgressDialog方法 + */ + protected int getProgressDialogAllDurationTextId() + + /** + * 触摸进度dialog的图片id + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showProgressDialog方法 + */ + protected int getProgressDialogImageId() + + /** + * 音量dialog的layoutId + * 继承后重写可返回自定义 + * 有自定义的实现逻辑可重载showVolumeDialog方法 + */ + protected int getVolumeLayoutId() + /** + * 音量dialog的百分比进度条 id + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showVolumeDialog方法 + */ + protected int getVolumeProgressId() + + /** + * 亮度dialog的layoutId + * 继承后重写可返回自定义 + * 有自定义的实现逻辑可重载showBrightnessDialog方法 + */ + protected int getBrightnessLayoutId() + + /** + * 亮度dialog的百分比text id + * 继承后重写可返回自定义,如果没有可返回空 + * 有自定义的实现逻辑可重载showBrightnessDialog方法 + */ + protected int getBrightnessTextId() + +``` + ### 2.1.3(2017-12-24) * update demo gradle to 4.1 diff --git a/dependencies.md b/dependencies.md index c3ad33de03d25e7e4a0bcd7cd389560725baf750..9c454a1d7c08ab1c70de116fffca7dc317e0a720 100644 --- a/dependencies.md +++ b/dependencies.md @@ -7,21 +7,21 @@ #### A、直接引入 ``` //完整版引入 -compile 'com.shuyu:GSYVideoPlayer:2.1.3' +compile 'com.shuyu:GSYVideoPlayer:3.0.0' ``` #### B、添加java和你想要的so支持: ``` -compile 'com.shuyu:gsyVideoPlayer-java:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-java:3.0.0' //根据你的需求 -compile 'com.shuyu:gsyVideoPlayer-armv5:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-armv7a:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-arm64:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-x64:2.1.3' -compile 'com.shuyu:gsyVideoPlayer-x86:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-armv5:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-armv7a:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-arm64:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-x64:3.0.0' +compile 'com.shuyu:gsyVideoPlayer-x86:3.0.0' ``` @@ -31,9 +31,9 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情 C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。 ``` -compile 'com.shuyu:gsyVideoPlayer-java:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-java:3.0.0' -compile 'com.shuyu:gsyVideoPlayer-ex_so:2.1.3' +compile 'com.shuyu:gsyVideoPlayer-ex_so:3.0.0' ``` @@ -68,7 +68,7 @@ allprojects { #### A、直接引入 ``` //完整版引入 -compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v2.1.3' +compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v3.0.0' ``` @@ -76,14 +76,14 @@ compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v2.1.3' ``` -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v2.1.3' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v3.0.0' //根据你的需求 -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v2.1.3' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v2.1.3' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v2.1.3' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v2.1.3' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v2.1.3' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v3.0.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v3.0.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v3.0.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v3.0.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v3.0.0' ``` @@ -93,8 +93,8 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情 C 方法引入的so支持mpeg编码和其他补充协议,但是so包相对变大。 ``` -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v2.1.3' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v3.0.0' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v2.1.3' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v3.0.0' ``` diff --git a/gradle.properties b/gradle.properties index ba331f778af86b1f011297b657e287af3d5e197f..a11d3a7f3d583403f54e3d2ee5634ee862aceaac 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ org.gradle.jvmargs=-Xmx1536m BINTRAY_USER=carguo BINTRAY_KEY= PROJ_GROUP=com.shuyu -PROJ_VERSION=2.1.3 +PROJ_VERSION=3.0.0 PROJ_WEBSITEURL=https://github.com/CarGuo/GSYVideoPlayer PROJ_ISSUETRACKERURL= PROJ_VCSURL=git@github.com:CarGuo/GSYVideoPlayer.git