Skip to content

Commit

Permalink
update ci & doc
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Feb 8, 2021
1 parent 4f59006 commit 02ec35f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ android:
components:
- platform-tools
- tools
- build-tools-28.0.3
- android-28
- build-tools-30.0.1
- android-30
- extra-android-support
- extra-android-m2repository
before_install:
Expand Down
54 changes: 53 additions & 1 deletion doc/DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,66 @@ C 引入的so支持mpeg编码和其他补充协议,但是so包相对变大。
implementation 'com.shuyu:gsyVideoPlayer-java:8.1.0'
//是否需要ExoPlayer模式
implementation 'com.shuyu:GSYVideoPlayer-exo2:8.1.0'
implementatcon 'com.shuyu:GSYVideoPlayer-exo2:8.1.0'
//更多ijk的编码支持
implementation 'com.shuyu:gsyVideoPlayer-ex_so:8.1.0'
```

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

### 2、JitPack引入方法

#### First、在project下的build.gradle添加
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

#### Sencond、在module下的build.gradle添加

**你可以选择下面三种的其中一种,在module下的build.gradle添加。**

#### A、直接引入
```
//完整版引入
implementatcon 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v8.1.0'
```

#### B、添加java和你想要的so支持:

```
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v8.1.0'
//是否需要ExoPlayer模式
implementation 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo2:v8.1.0'
//根据你的需求
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v8.1.0'
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v8.1.0'
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v8.1.0'
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v8.1.0'
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v8.1.0'
```

#### C、支持其他格式协议的(mpeg,rtsp, concat、crypto协议)

A、B普通版本支持263/264/265等,对于mpeg编码会有声音无画面情况。
C 方法引入的so支持mpeg编码和其他补充协议,但是so包相对变大。

```
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v8.1.0'
implementatcon 'com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v8.1.0'
```

0 comments on commit 02ec35f

Please sign in to comment.