提交 42fd530a 编写于 作者: S shuyu

修改为新的项目结构,修改为新的发布模式,增加了ex so 支持更多格式 (2017-07-09)

上级 1e6dda29
......@@ -33,14 +33,44 @@
## 使用依赖(支持jcenter和jitpack)
### 1、JCenter 引入方法
### 1、JCenter 引入方法(推荐)
#### 直接在module下的build.gradle添加
```
compile 'com.shuyu:GSYVideoPlayer:1.6.9'
//完整版
compile 'com.shuyu:GSYVideoPlayer:2.0.0'
```
##### 或者
```
compile 'com.shuyu:gsyVideoPlayer-java:2.0.0'
//根据你的需求
compile 'com.shuyu:gsyVideoPlayer-armv5:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-armv7a:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-arm64:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-x64:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-x86:2.0.0'
```
##### 或者 支持更多格式协议的(mpeg,concat、crypto协议)
以上普通版本支持263/264/265,对于mpeg会有有声音无画面情况。
这种方法引入的so支持mpeg编码,但是so包相对变大。
```
compile 'com.shuyu:gsyVideoPlayer-java:2.0.0'
compile 'com.shuyu:gsyVideoPlayer-ex_so:2.0.0'
```
--------------------------------------------------------------------------------
### 2、JitPack引入方法
......
......@@ -58,5 +58,6 @@ dependencies {
compile viewDependencies.ndkbitmap_x86
compile androidDependencies.support_v4
//debugCompile dataDependencies.leakcanary
compile project(':gsyVideoPlayer')
//compile project(':gsyVideoPlayer')
compile 'com.shuyu:GSYVideoPlayer:2.0.0'
}
......@@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
BINTRAY_USER=carguo
BINTRAY_KEY=
BINTRAY_KEY=95b0b4a21276e242d96353431c1379a0c46a8c9f
PROJ_GROUP=com.shuyu
PROJ_VERSION=2.0.0
PROJ_WEBSITEURL=https://github.com/CarGuo/GSYVideoPlayer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册