Commit 696bb778af1f3d6a598968df3f70dc092ddb492d

Authored by 朱显松
1 parent fc696a88

更新VideoSDK

app/libs/libcnliveutil.jar
No preview for this file type
app/libs/libcnlivevideo.jar
No preview for this file type
app/src/main/java/com/cnlive/demo/video/model/ProgramLive.java
@@ -11,19 +11,19 @@ public class ProgramLive implements IDataSource { @@ -11,19 +11,19 @@ public class ProgramLive implements IDataSource {
11 11
12 //返回直播视频ID 12 //返回直播视频ID
13 @Override 13 @Override
14 - public String getId() { 14 + public String getDataSourceId() {
15 return "news"; 15 return "news";
16 } 16 }
17 17
18 //返回视频类型 live 18 //返回视频类型 live
19 @Override 19 @Override
20 - public String getType() { 20 + public String getDataSourceType() {
21 return Config.TYPE_LIVE; 21 return Config.TYPE_LIVE;
22 } 22 }
23 23
24 //返回视频码率 24 //返回视频码率
25 @Override 25 @Override
26 - public String getRate() { 26 + public String getDataSourceRate() {
27 return Config.TYPE_PLAY_RATE_2; 27 return Config.TYPE_PLAY_RATE_2;
28 } 28 }
29 } 29 }
app/src/main/java/com/cnlive/demo/video/model/ProgramVod.java
@@ -11,19 +11,20 @@ public class ProgramVod implements IDataSource { @@ -11,19 +11,20 @@ public class ProgramVod implements IDataSource {
11 11
12 //返回点播视频ID 12 //返回点播视频ID
13 @Override 13 @Override
14 - public String getId() { 14 + public String getDataSourceId() {
15 return "117_0005701481101785734a"; 15 return "117_0005701481101785734a";
16 } 16 }
17 17
18 //返回视频类型 vod 18 //返回视频类型 vod
19 @Override 19 @Override
20 - public String getType() { 20 + public String getDataSourceType() {
21 return Config.TYPE_VOD; 21 return Config.TYPE_VOD;
22 } 22 }
23 23
24 //返回视频码率 24 //返回视频码率
25 @Override 25 @Override
26 - public String getRate() { 26 + public String getDataSourceRate() {
27 return Config.TYPE_PLAY_RATE_2; 27 return Config.TYPE_PLAY_RATE_2;
28 } 28 }
  29 +
29 } 30 }
app/src/main/jniLibs/arm64-v8a/libksyplayer.so
No preview for this file type
app/src/main/jniLibs/armeabi-v7a/libksyplayer.so
No preview for this file type
app/src/main/jniLibs/armeabi/libksyplayer.so
No preview for this file type
app/src/main/jniLibs/x86/libksyplayer.so
No preview for this file type
app/src/main/jniLibs/x86_64/libksyplayer.so
No preview for this file type
build.gradle
@@ -5,7 +5,7 @@ buildscript { @@ -5,7 +5,7 @@ buildscript {
5 jcenter() 5 jcenter()
6 } 6 }
7 dependencies { 7 dependencies {
8 - classpath 'com.android.tools.build:gradle:2.2.2' 8 + classpath 'com.android.tools.build:gradle:2.2.3'
9 9
10 // NOTE: Do not place your application dependencies here; they belong 10 // NOTE: Do not place your application dependencies here; they belong
11 // in the individual module build.gradle files 11 // in the individual module build.gradle files