Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Jan 14, 2018
1 parent 6c8214e commit c7af0e0
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 29 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

Expand All @@ -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'
```

Expand Down Expand Up @@ -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的支持。

Expand Down
81 changes: 81 additions & 0 deletions UPDATE_VERSION.md
Original file line number Diff line number Diff line change
@@ -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<String, String> 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
Expand Down
36 changes: 18 additions & 18 deletions dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

Expand All @@ -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'
```

Expand Down Expand Up @@ -68,22 +68,22 @@ allprojects {
#### A、直接引入
```
//完整版引入
compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v2.1.3'
compile 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v3.0.0'
```

#### B、添加java和你想要的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-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'
```

Expand All @@ -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'
```
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7af0e0

Please sign in to comment.