From 78e24b0e237a6870d9b7c4338a3ca6585b2758d4 Mon Sep 17 00:00:00 2001 From: shuyu <359369982@qq.com> Date: Mon, 26 Feb 2018 22:54:57 +0800 Subject: [PATCH] release 4.1.0 --- UPDATE_VERSION.md | 25 ++++++++++++++++++++++++ dependencies.gradle | 2 +- dependencies.md | 38 ++++++++++++++++++------------------- gradle.properties | 2 +- gsyVideoPlayer/build.gradle | 18 +++++++++--------- 5 files changed, 55 insertions(+), 30 deletions(-) diff --git a/UPDATE_VERSION.md b/UPDATE_VERSION.md index acc80d4ac..5dc3cd68a 100644 --- a/UPDATE_VERSION.md +++ b/UPDATE_VERSION.md @@ -1,5 +1,30 @@ ## 下方个版本说明,可以当做简单的wiki使用~,效果可参考DEMO。 +### 4.1.0 (2018-02-26) +* 1、update to ijk 0.8.8 +* 2、去除cache模块的log库依赖 +* 3、去除exo模块的无用依赖 +* 4、增加恢复播放方法参数 +``` + XXXXManager相关 +/** + * 恢复暂停状态 + * + * @param seek 是否产生seek动作,直播设置为false + */ + public static void onResume(String key, boolean seek) + + Video相关 + /** + * 恢复暂停状态 + * + * @param seek 是否产生seek动作 + */ + @Override + public void onVideoResume(boolean seek) + +``` + ### 4.0.0-beat1(2018-02-06) * 1、新增简单片头广告支持。 `GSYSampleADVideoPlayer 与 DetailADPlayer` diff --git a/dependencies.gradle b/dependencies.gradle index 0e54c6b84..5b014133e 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -27,7 +27,7 @@ ext { imageLoader = '4.0.0' - gsyVideoVersion = '4.0.0-beat1' + gsyVideoVersion = '4.1.0' exo_player2 = '2.6.1' diff --git a/dependencies.md b/dependencies.md index 3759c8d18..64bd7358e 100644 --- a/dependencies.md +++ b/dependencies.md @@ -7,21 +7,21 @@ #### A、直接引入 ``` //完整版引入 -compile 'com.shuyu:GSYVideoPlayer:4.0.0-beat1' +compile 'com.shuyu:GSYVideoPlayer:4.1.0' ``` #### B、添加java和你想要的so支持: ``` -compile 'com.shuyu:gsyVideoPlayer-java:4.0.0-beat1' +compile 'com.shuyu:gsyVideoPlayer-java:4.1.0' //根据你的需求 -compile 'com.shuyu:gsyVideoPlayer-armv5:4.0.0-beat1' -compile 'com.shuyu:gsyVideoPlayer-armv7a:4.0.0-beat1' -compile 'com.shuyu:gsyVideoPlayer-arm64:4.0.0-beat1' -compile 'com.shuyu:gsyVideoPlayer-x64:4.0.0-beat1' -compile 'com.shuyu:gsyVideoPlayer-x86:4.0.0-beat1' +compile 'com.shuyu:gsyVideoPlayer-armv5:4.1.0' +compile 'com.shuyu:gsyVideoPlayer-armv7a:4.1.0' +compile 'com.shuyu:gsyVideoPlayer-arm64:4.1.0' +compile 'com.shuyu:gsyVideoPlayer-x64:4.1.0' +compile 'com.shuyu:gsyVideoPlayer-x86:4.1.0' ``` @@ -31,9 +31,9 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情 C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。 ``` -compile 'com.shuyu:gsyVideoPlayer-java:4.0.0-beat1' +compile 'com.shuyu:gsyVideoPlayer-java:4.1.0' -compile 'com.shuyu:gsyVideoPlayer-ex_so:4.0.0-beat1' +compile 'com.shuyu:gsyVideoPlayer-ex_so:4.1.0' ``` @@ -49,7 +49,7 @@ compile 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.4' -------------------------------------------------------------------------------- -### 2、JitPack引入方法 (4.0.0-beat1开始目前不支持) +### 2、JitPack引入方法 #### First、在project下的build.gradle添加 ``` @@ -68,7 +68,7 @@ allprojects { #### A、直接引入 ``` //完整版引入 -compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v4.0.0-beat1' +compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v4.1.0' ``` @@ -76,14 +76,14 @@ compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v4.0.0-beat1' ``` -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v4.0.0-beat1' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v4.1.0' //根据你的需求 -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v4.0.0-beat1' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v4.0.0-beat1' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v4.0.0-beat1' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v4.0.0-beat1' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v4.0.0-beat1' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v4.1.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v4.1.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v4.1.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v4.1.0' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v4.1.0' ``` @@ -93,8 +93,8 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情 C 方法引入的so支持mpeg编码和其他补充协议,但是so包相对变大。 ``` -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v4.0.0-beat1' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v4.1.0' -compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v4.0.0-beat1' +compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v4.1.0' ``` diff --git a/gradle.properties b/gradle.properties index 11867d51e..493612df0 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=4.0.0-beat1 +PROJ_VERSION=4.1.0 PROJ_WEBSITEURL=https://github.com/CarGuo/GSYVideoPlayer PROJ_ISSUETRACKERURL= PROJ_VCSURL=git@github.com:CarGuo/GSYVideoPlayer.git diff --git a/gsyVideoPlayer/build.gradle b/gsyVideoPlayer/build.gradle index fa3dc3b07..19f5b729f 100644 --- a/gsyVideoPlayer/build.gradle +++ b/gsyVideoPlayer/build.gradle @@ -31,7 +31,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - api project(':gsyVideoPlayer-java') + //api project(':gsyVideoPlayer-java') //api project(':gsyVideoPlayer-armv5') //api project(':gsyVideoPlayer-armv7a') //api project(':gsyVideoPlayer-armv64') @@ -39,16 +39,16 @@ dependencies { //api project(':gsyVideoPlayer-x86_64') //更多配置版so,增加了concat,rtsp,mpeg,crypto - api project(':gsyVideoPlayer-ex_so') + //api project(':gsyVideoPlayer-ex_so') - //api "com.shuyu:GSYVideoPlayer:$gsyVideoVersion" + api "com.shuyu:GSYVideoPlayer:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-java:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-armv5:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-armv7a:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-arm64:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-x64:$gsyVideoVersion" - //api "com.shuyu:gsyVideoPlayer-x86:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-java:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-armv5:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-armv7a:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-arm64:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-x64:$gsyVideoVersion" + api "com.shuyu:gsyVideoPlayer-x86:$gsyVideoVersion" //更多配置版so,增加了concat,rtsp,mpeg,crypto //api "com.shuyu:gsyVideoPlayer-ex_so:$gsyVideoVersion"