Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_26386469
GSYVideoPlayer
提交
955c95f4
G
GSYVideoPlayer
项目概览
qq_26386469
/
GSYVideoPlayer
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
GSYVideoPlayer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
955c95f4
编写于
2月 06, 2018
作者:
S
shuyu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
4.0.0-beat1
上级
d85b2a05
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
61 addition
and
38 deletion
+61
-38
README.md
README.md
+10
-10
UPDATE_VERSION.md
UPDATE_VERSION.md
+23
-0
dependencies.gradle
dependencies.gradle
+2
-3
dependencies.md
dependencies.md
+19
-19
gradle.properties
gradle.properties
+1
-1
gsyVideoPlayer-java/build.gradle
gsyVideoPlayer-java/build.gradle
+2
-2
gsyVideoPlayer/build.gradle
gsyVideoPlayer/build.gradle
+4
-3
未找到文件。
README.md
浏览文件 @
955c95f4
...
...
@@ -52,21 +52,21 @@
#### A、直接引入
```
//完整版引入
compile 'com.shuyu:GSYVideoPlayer:4.0.0'
compile 'com.shuyu:GSYVideoPlayer:4.0.0
-beat1
'
```
#### B、添加java和你想要的so支持:
```
compile 'com.shuyu:gsyVideoPlayer-java:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-java:4.0.0
-beat1
'
//根据你的需求
compile 'com.shuyu:gsyVideoPlayer-armv5:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-armv7a:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-arm64:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-x64:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-x86:4.0.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
'
```
...
...
@@ -76,9 +76,9 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情
C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。
```
compile 'com.shuyu:gsyVideoPlayer-java:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-java:4.0.0
-beat1
'
compile 'com.shuyu:gsyVideoPlayer-ex_so:4.0.0'
compile 'com.shuyu:gsyVideoPlayer-ex_so:4.0.0
-beat1
'
```
...
...
@@ -129,7 +129,7 @@ compile 'com.shuyu:gsyVideoPlayer-ex_so:4.0.0'
## 五、近期版本
### 4.0.0
(2018-xx-xx
)
### 4.0.0
-beat1(2018-02-06
)
*
1、新增简单片头广告支持。
`GSYSampleADVideoPlayer 与 DetailADPlayer`
*
2、优化了ListGSYVideoPlayer、增加
`playNext()`
接口。
...
...
UPDATE_VERSION.md
浏览文件 @
955c95f4
## 下方个版本说明,可以当做简单的wiki使用~,效果可参考DEMO。
### 4.0.0-beat1(2018-02-06)
*
1、新增简单片头广告支持。
`GSYSampleADVideoPlayer 与 DetailADPlayer`
*
2、优化了ListGSYVideoPlayer、增加
`playNext()`
接口。
*
3、优化代码结构,调整部分API接口(稍微调整下,偶尔有和旧版本不兼容的,参考源码和demo修改下方法名即可)。
*
4、增加GSYVideoHelper视频帮助类,更加节省资源。
*
5、增加GSYSampleCallBack节省继承,优化GSYVideoProgressListener的回调。
*
6、增加GSYVideoViewBridge、重载
`getGSYVideoManager()`
方法实现自己的Manager。
*
7、支持自定义渲染层,demo中
`CustomRenderVideoPlayer`
演示如何设置自定义渲染层。
*
8、
`ListMultiVideoActivity`
和
`MultiSampleVideo`
演示如何同时播放多个视频。
*
9、
`DetailADPlayer2`
和
`ListADVideoActivity`
演示广告与中间插入广告支持。
*
10、增加音频焦点方法。
```
/**
* 长时间失去音频焦点,暂停播放器
*
* @param releaseWhenLossAudio 默认true,false的时候只会暂停
*/
public void setReleaseWhenLossAudio(boolean releaseWhenLossAudio)
```
### 3.0.0(2018-01-14)
1、增肌PlayerManager,更新为ExoPlayer2,优化对ExoPlayer2的支持。
...
...
dependencies.gradle
浏览文件 @
955c95f4
...
...
@@ -23,12 +23,11 @@ ext {
floatWindow
=
'1.0.6'
//DataLibraries
videocache
=
'2.1.1'
leakcanary
=
'1.5'
imageLoader
=
'4.0.0'
gsyVideoVersion
=
'
3.0.0
'
gsyVideoVersion
=
'
4.0.0-beat1
'
exo_player2
=
'2.6.1'
...
...
@@ -64,7 +63,7 @@ ext {
]
dataDependencies
=
[
videocache:
"com.shuyu:gsyvideoplayer-androidvideocache:${
videocache
}"
,
videocache:
"com.shuyu:gsyvideoplayer-androidvideocache:${
gsyVideoVersion
}"
,
leakcanary:
"com.squareup.leakcanary:leakcanary-android:${leakcanary}"
,
]
}
dependencies.md
浏览文件 @
955c95f4
...
...
@@ -7,21 +7,21 @@
#### A、直接引入
```
//完整版引入
compile 'com.shuyu:GSYVideoPlayer:
3.0.0
'
compile 'com.shuyu:GSYVideoPlayer:
4.0.0-beat1
'
```
#### B、添加java和你想要的so支持:
```
compile 'com.shuyu:gsyVideoPlayer-java:
3.0.0
'
compile 'com.shuyu:gsyVideoPlayer-java:
4.0.0-beat1
'
//根据你的需求
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
'
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
'
```
...
...
@@ -31,9 +31,9 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情
C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。
```
compile 'com.shuyu:gsyVideoPlayer-java:
3.0.0
'
compile 'com.shuyu:gsyVideoPlayer-java:
4.0.0-beat1
'
compile 'com.shuyu:gsyVideoPlayer-ex_so:
3.0.0
'
compile 'com.shuyu:gsyVideoPlayer-ex_so:
4.0.0-beat1
'
```
...
...
@@ -49,7 +49,7 @@ compile 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.4'
--------------------------------------------------------------------------------
### 2、JitPack引入方法 (
3.0.0
开始目前不支持)
### 2、JitPack引入方法 (
4.0.0-beat1
开始目前不支持)
#### First、在project下的build.gradle添加
```
...
...
@@ -68,7 +68,7 @@ allprojects {
#### A、直接引入
```
//完整版引入
compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v
4.0.0-beat1
'
```
...
...
@@ -76,14 +76,14 @@ compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v3.0.0'
```
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v
4.0.0-beat1
'
//根据你的需求
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v
4.0.0-beat1
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v
4.0.0-beat1
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v
4.0.0-beat1
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v
4.0.0-beat1
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v
4.0.0-beat1
'
```
...
...
@@ -93,8 +93,8 @@ A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情
C 方法引入的so支持mpeg编码和其他补充协议,但是so包相对变大。
```
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v
4.0.0-beat1
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v
3.0.0
'
compile 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v
4.0.0-beat1
'
```
gradle.properties
浏览文件 @
955c95f4
...
...
@@ -18,7 +18,7 @@ org.gradle.jvmargs=-Xmx1536m
BINTRAY_USER
=
carguo
BINTRAY_KEY
=
PROJ_GROUP
=
com.shuyu
PROJ_VERSION
=
3.0.0
PROJ_VERSION
=
4.0.0-beat1
PROJ_WEBSITEURL
=
https://github.com/CarGuo/GSYVideoPlayer
PROJ_ISSUETRACKERURL
=
PROJ_VCSURL
=
git@github.com:CarGuo/GSYVideoPlayer.git
...
...
gsyVideoPlayer-java/build.gradle
浏览文件 @
955c95f4
...
...
@@ -37,9 +37,9 @@ dependencies {
api
viewDependencies
.
ijkplayer_java
api
viewDependencies
.
ijkplayer_exo
api
viewDependencies
.
transitionseverywhere
//
api dataDependencies.videocache
api
dataDependencies
.
videocache
api
"com.shuyu:GSYVideoPlayer-exo2:$gsyVideoVersion"
api
project
(
':gsyvideoplayer-androidvideocache'
)
//
api project(':gsyvideoplayer-androidvideocache')
//api project(':gsyvideoplayer-exo2')
...
...
gsyVideoPlayer/build.gradle
浏览文件 @
955c95f4
...
...
@@ -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')
...
...
@@ -41,8 +41,9 @@ dependencies {
//更多配置版so,增加了concat,rtsp,mpeg,crypto
//api project(':gsyVideoPlayer-ex_so')
//api "com.shuyu:gsyVideoPlayer-java
:$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"
...
...
@@ -50,7 +51,7 @@ dependencies {
//api "com.shuyu:gsyVideoPlayer-x86:$gsyVideoVersion"
//更多配置版so,增加了concat,rtsp,mpeg,crypto
api
"com.shuyu:gsyVideoPlayer-ex_so:$gsyVideoVersion"
//
api "com.shuyu:gsyVideoPlayer-ex_so:$gsyVideoVersion"
//compile fileTree(dir: 'libs', include: ['*.jar'])
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录