Skip to content

Commit 02bbe76

Browse files
author
masonqiao
committed
Android 更新SDK 8.1.9717
1 parent 6535fcf commit 02bbe76

File tree

6 files changed

+35
-15
lines changed

6 files changed

+35
-15
lines changed

Android/Demo/ugckit/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ dependencies {
6363
compile 'com.github.castorflex.verticalviewpager:library:19.0.1'
6464
compile 'org.greenrobot:eventbus:3.0.0'
6565
compile 'com.android.support:support-annotations:24.2.0'
66-
compile 'com.tencent.bugly:crashreport:3.1.0'
67-
compile 'com.tencent.bugly:nativecrashreport:3.7.0'
66+
compile 'com.tencent.bugly:crashreport_upgrade:latest.release'
67+
compile 'com.tencent.bugly:nativecrashreport:latest.release'
6868
compile 'com.squareup.okhttp3:okhttp:3.11.0'
6969
compile 'com.squareup.okio:okio:1.14.0'
7070
compile('com.tencent.qcloud:cosxml:5.5.3') {

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/module/record/RecordBottomLayout.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ private void switchCamera() {
133133
mImageTorch.setVisibility(View.VISIBLE);
134134
mImageTorch.setImageResource(mTorchOffImage);
135135
}
136-
TXUGCRecord record = VideoRecordSDK.getInstance().getRecorder();
137-
if (record != null) {
138-
record.switchCamera(mFrontCameraFlag);
139-
}
136+
VideoRecordSDK.getInstance().switchCamera(mFrontCameraFlag);
140137
}
141138

142139
/**

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/module/record/VideoRecordSDK.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,16 @@ public String getRecordVideoPath() {
514514
return mRecordVideoPath;
515515
}
516516

517+
public void switchCamera(boolean isFront) {
518+
TXUGCRecord record = getRecorder();
519+
if (record != null) {
520+
record.switchCamera(isFront);
521+
}
522+
if (mUGCKitRecordConfig != null) {
523+
mUGCKitRecordConfig.mFrontCamera = isFront;
524+
}
525+
}
526+
517527
public interface OnVideoRecordListener {
518528
void onRecordProgress(long milliSecond);
519529

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/module/upload/impl/TVCConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* 视频上传常量定义
55
*/
66
public class TVCConstants {
7-
public static final String TVCVERSION = "8.0.9639";
7+
public static final String TVCVERSION = "8.1.9717";
88
public static String VOD_SERVER_HOST = "vod2.qcloud.com";
99
public static String VOD_SERVER_HOST_BAK = "vod2.dnsv1.com";
1010

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@
99
| iOS | [下载](http://liteavsdk-1252463788.cosgz.myqcloud.com/TXLiteAVSDK_UGC_iOS_latest.zip) | [DOC](https://cloud.tencent.com/document/product/584/11638) |
1010
| Android | [下载](http://liteavsdk-1252463788.cosgz.myqcloud.com/TXLiteAVSDK_UGC_Android_latest.zip) | [DOC](https://cloud.tencent.com/document/product/584/11631) |
1111

12-
### Version 8.0 @ 2020.11.16
13-
- iOS:修复添加多个贴纸后偶现应用卡死的问题;
14-
- iOS:修复气泡字幕编辑偶现闪退的问题;
15-
- Android:上传封面兼容9.0以上机型;
16-
- Android:修复三屏合拍切后台返回出现合拍视频不同步的问题;
17-
- Android:UGCKit修复视频压缩预览页面偶现黑屏的问题;
18-
- Android:UGCKit修复视频编辑音量设置不生效的问题;
19-
- Android:UGCKit修复动作界面撤销按钮偶现不显示的问题;
12+
13+
### Version 8.1 @ 2020.12.03
14+
- Android: 改善短视频的画质&清晰度;
15+
- Android: 修改美颜相关接口的参数类型从int到float;
16+
- Android: 修复短视频暂停录制后返回值异常的问题;
17+
- Android: 修复部分Crash问题及兼容性问题;
2018

2119
## 问题反馈
2220
为了更好的了解您使用 UGSVSDK 所遇到的问题,方便快速有效定位解决 UGSVSDK 问题,希望您按如下反馈指引反馈issue,方便我们尽快解决您的问题

版本历史.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
### Version 8.1 @ 2020.12.03
2+
- Android: 改善短视频的画质&清晰度;
3+
- Android: 修改美颜相关接口的参数类型从int到float;
4+
- Android: 修复短视频暂停录制后返回值异常的问题;
5+
- Android: 修复部分Crash问题及兼容性问题;
6+
7+
### Version 8.0 @ 2020.11.16
8+
- iOS:修复添加多个贴纸后偶现应用卡死的问题;
9+
- iOS:修复气泡字幕编辑偶现闪退的问题;
10+
- Android:上传封面兼容9.0以上机型;
11+
- Android:修复三屏合拍切后台返回出现合拍视频不同步的问题;
12+
- Android:UGCKit修复视频压缩预览页面偶现黑屏的问题;
13+
- Android:UGCKit修复视频编辑音量设置不生效的问题;
14+
- Android:UGCKit修复动作界面撤销按钮偶现不显示的问题;
15+
116
### Version 7.9 @ 2020.10.23
217
- iOS:修复短视频编辑尾部音频缺失的问题;
318
- iOS:解决短视频录制添加BGM重新录制BGM不重置的问题;

0 commit comments

Comments
 (0)