Commit 710756a4 authored by Han Ruisong's avatar Han Ruisong
Browse files

升级到 v3.4.0

1.Demo新增重力感应旋转屏幕方向功能。
2.Demo新增手势滑动可以调整播放进度和音量大小。
3.Demo新增首次加载失败切换到备用线路。
4.Demo优化压缩功能。
parent 95714c66
No preview for this file type
File added
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -32,7 +32,7 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
//获得场景视频SDK,必须引入
implementation 'com.bokecc:vod:3.3.3'
implementation 'com.bokecc:vod:3.4.0'
//播放加密视频必须引用http和drmv6
implementation 'com.bokecc:http:1.2.0'
implementation 'com.bokecc:drmv6:2.19.0'
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -15,6 +15,7 @@ import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.bokecc.sdk.mobile.util.HttpUtil;
import com.bokecc.vod.adapter.PlayVideoAdapter;
import com.bokecc.vod.data.DataSet;
import com.bokecc.vod.data.DataUtil;
......@@ -63,7 +64,6 @@ public class MainActivity extends AppCompatActivity {
setContentView(R.layout.activity_main);
MultiUtils.setStatusBarColor(this, R.color.transparent, true);
initView();
//初始化数据库和下载数据 没有开通授权播放和下载功能的账号 verificationCode可为空值
verificationCode = MultiUtils.getVerificationCode();
DownloadController.init(verificationCode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment