Commit c39ca37a59841ad96a86eefc175f84933c7b6a6b

Authored by 王琳
1 parent 009251fb

更新推流SDK,引入方式改为引入maven库

.idea/gradle.xml
... ... @@ -5,7 +5,7 @@
5 5 <GradleProjectSettings>
6 6 <option name="distributionType" value="LOCAL" />
7 7 <option name="externalProjectPath" value="$PROJECT_DIR$" />
8   - <option name="gradleHome" value="C:\Program Files\Android\Android Studio\gradle\gradle-3.3" />
  8 + <option name="gradleHome" value="$APPLICATION_HOME_DIR$/gradle/gradle-3.4" />
9 9 <option name="modules">
10 10 <set>
11 11 <option value="$PROJECT_DIR$" />
... ...
app/build.gradle
... ... @@ -35,9 +35,15 @@ android {
35 35 }
36 36 }
37 37  
  38 +repositories {
  39 + maven {
  40 + url 'https://bintray.com/granzon/cnlive/'
  41 + }
  42 +}
  43 +
38 44 dependencies {
39 45 compile fileTree(include: ['*.jar'], dir: 'libs')
40 46 compile 'com.android.support:appcompat-v7:25.2.0'
41 47 compile 'com.android.support.constraint:constraint-layout:1.0.1'
42   - compile files('libs/libcnlivelive.jar')
  48 + compile 'com.cnlive:lib_cnlive:2.0.0'
43 49 }
... ...
app/libs/libcnlivelive.jar deleted 100644 → 0
No preview for this file type
app/libs/libcnliveutil.jar deleted 100644 → 0
No preview for this file type
app/src/main/java/com/cnlive/demo/stream/CNStreamApplication.java
... ... @@ -13,6 +13,6 @@ public class CNStreamApplication extends Application {
13 13 public void onCreate() {
14 14 super.onCreate();
15 15  
16   - Config.init(this, "60_irn9gh9d49", "f7b6db55616d207fd5c07e2b580b5650c690aff58fb36d");
  16 + Config.init(this, "60_irn9gh9d49", "f7b6db55616d207fd5c07e2b580b5650c690aff58fb36d",true);
17 17 }
18 18 }
... ...
app/src/main/jniLibs/arm64-v8a/libksylive.so deleted 100644 → 0
No preview for this file type
app/src/main/jniLibs/armeabi-v7a/libksylive.so deleted 100644 → 0
No preview for this file type
app/src/main/jniLibs/armeabi/libksylive.so deleted 100644 → 0
No preview for this file type
app/src/main/jniLibs/x86/libksylive.so deleted 100644 → 0
No preview for this file type
doc/推流SDK说明文档.pdf
No preview for this file type