Skip to content

Commit 5ee24ca

Browse files
author
tatemin
committed
Android 更新SDK 8.2.9808
1 parent 9417045 commit 5ee24ca

File tree

6 files changed

+35
-8
lines changed

6 files changed

+35
-8
lines changed

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/UGCKitVideoMixRecord.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ public void backPressed() {
172172
if (VideoRecordSDK.getInstance().getRecordState() == VideoRecordSDK.STATE_STOP) {
173173
getPlayViews().releaseVideo();
174174

175+
if (getCountDownTimerView() !=null){
176+
getCountDownTimerView().cancelDownAnimation();
177+
}
178+
175179
if (mOnMixRecordListener != null) {
176180
mOnMixRecordListener.onMixRecordCanceled();
177181
}

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/module/mixrecord/CountDownTimerView.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class CountDownTimerView extends RelativeLayout implements ICountDownTime
2424

2525
private TextView mTextNumber;
2626
private ICountDownListener mListener;
27+
private boolean mAnimationStart;
2728

2829
public CountDownTimerView(Context context) {
2930
super(context);
@@ -58,13 +59,15 @@ public void setOnCountDownListener(ICountDownListener listener) {
5859
*/
5960
public void countDownAnimation(final int num) {
6061
if (num <= 0) {
62+
mAnimationStart = false;
6163
mTextNumber.setVisibility(GONE);
6264

6365
if (mListener != null) {
6466
mListener.onCountDownComplete();
6567
}
6668
return;
6769
}
70+
mAnimationStart = true;
6871
mTextNumber.setVisibility(View.VISIBLE);
6972
mTextNumber.setText(Integer.toString(num));
7073

@@ -116,12 +119,13 @@ public void onAnimationStart(Animator animation) {
116119

117120
@Override
118121
public void onAnimationEnd(Animator animation) {
119-
countDownAnimation(num - 1);
122+
if (mAnimationStart){
123+
countDownAnimation(num - 1);
124+
}
120125
}
121126

122127
@Override
123128
public void onAnimationCancel(Animator animation) {
124-
125129
}
126130

127131
@Override
@@ -142,4 +146,10 @@ public void setCountDownNumber(int number) {
142146
DEFAULT_COUNTDOWN_NUMBER = number;
143147
}
144148

149+
@Override
150+
public void cancelDownAnimation() {
151+
DEFAULT_COUNTDOWN_NUMBER = 3;
152+
mAnimationStart = false;
153+
}
154+
145155
}

Android/Demo/ugckit/src/main/java/com/tencent/qcloud/ugckit/module/mixrecord/ICountDownTimerView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,9 @@ interface ICountDownListener {
3737
*/
3838
void setCountDownNumber(int number);
3939

40+
/**
41+
* 取消倒计时动画
42+
*/
43+
void cancelDownAnimation();
44+
4045
}

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.1.9717";
7+
public static final String TVCVERSION = "8.2.9808";
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
| Android | [下载](http://liteavsdk-1252463788.cosgz.myqcloud.com/TXLiteAVSDK_UGC_Android_latest.zip) | [DOC](https://cloud.tencent.com/document/product/584/11631) |
1111

1212

13-
### Version 8.1 @ 2020.12.03
14-
- Android: 改善短视频的画质&清晰度;
15-
- Android: 修改美颜相关接口的参数类型从int到float;
16-
- Android: 修复短视频暂停录制后返回值异常的问题;
17-
- Android: 修复部分Crash问题及兼容性问题;
13+
### Version 8.2 @ 2020.12.24
14+
- Android: 修复切换摄像头绿幕失效的问题;
15+
- Android: 修复短视频偶现的稳定性问题;
16+
- iOS;修复播放器倒置旋转,偶现播放画面比例异常的问题;
17+
- iOS;修复短视频录制设置为横屏时,继续录制的合成失败问题;
18+
- iOS:修复超级播放器偶现的稳定性问题;
1819

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

版本历史.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### Version 8.2 @ 2020.12.24
2+
- Android: 修复切换摄像头绿幕失效的问题;
3+
- Android: 修复短视频偶现的稳定性问题;
4+
- iOS;修复播放器倒置旋转,偶现播放画面比例异常的问题;
5+
- iOS;修复短视频录制设置为横屏时,继续录制的合成失败问题;
6+
- iOS:修复超级播放器偶现的稳定性问题;
7+
18
### Version 8.1 @ 2020.12.03
29
- Android: 改善短视频的画质&清晰度;
310
- Android: 修改美颜相关接口的参数类型从int到float;

0 commit comments

Comments
 (0)