Skip to content

Commit 6c5fa77

Browse files
author
kongdywang
committed
1.fix the issue where getDownloadInfo does not return isResourceBroken
2.when adjusting the volume of UI components, the iOS end no longer seizes the audio focus 3.fix some logical issues with UI components
1 parent d3359df commit 6c5fa77

File tree

16 files changed

+49
-22
lines changed

16 files changed

+49
-22
lines changed

Flutter/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2+
#### Version: 12.9.1 2025.12.04
3+
4+
##### Features:
5+
6+
- set Android TXLiteAVSDK to 12.9.0.19478
7+
- set iOS TXLiteAVSDK to 12.9.20085
8+
- fix the issue where getDownloadInfo does not return isResourceBroken
9+
- when adjusting the volume of UI components, the iOS end no longer seizes the audio focus
10+
- fix some logical issues with UI components
11+
- Fix known issue
12+
13+
114
#### Version: 12.9.0 2025.11.13
215

316
##### Features:

Flutter/CI/buildVersionOnMac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildLog() {
55
}
66

77
inputVersion=$1
8-
export VERSION_NAME="12.9.0"
8+
export VERSION_NAME="12.9.1"
99
if [ -n "$inputVersion" ]; then
1010
VERSION_NAME=$inputVersion
1111
fi

Flutter/android/config.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ rootProject.ext {
44
supportSdkVersion = "26.0.1"
55
minSdkVersion = 19
66
targetSdkVersion = 28
7-
playerVersion = "12.9.0"
7+
playerVersion = "12.9.1"
88
compat = "androidx.appcompat:appcompat:1.6.1"
99

1010
/**
@@ -14,5 +14,5 @@ rootProject.ext {
1414
Professional SDK: liteavSdk="com.tencent.liteav:LiteAVSDK_Professional:latest.release"
1515
If you want to specify the SDK version(eg 11.7.0.13946), use: liteavSdk="com.tencent.liteav:LiteAVSDK_Player:11.7.0.13946"
1616
*/
17-
liteavSdk="com.tencent.liteav:LiteAVSDK_Player:12.9.0.19467"
17+
liteavSdk="com.tencent.liteav:LiteAVSDK_Player:12.9.0.19478"
1818
}

Flutter/android/src/main/java/com/tencent/vod/flutter/player/render/gl/FTXTextureRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void setRotationAngle(float angle) {
202202
private void mergerMatrix() {
203203
// reset
204204
Matrix.setIdentityM(mResultMatrix, 0);
205-
Matrix.multiplyMM(mResultMatrix, 0, rotationMatrix, 0, projectionMatrix, 0);
205+
Matrix.multiplyMM(mResultMatrix, 0, projectionMatrix, 0, rotationMatrix , 0);
206206
}
207207

208208
public void cleanDrawCache() {

Flutter/example/lib/demo_txvodplayer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class _DemoTXVodPlayerState extends State<DemoTXVodPlayer> with WidgetsBindingOb
2626
int _volume = 100;
2727
List _supportedBitrates = [];
2828
int _curBitrateIndex = 0;
29-
String _url = "http://1500005830.vod2.myqcloud.com/43843ec0vodtranscq1500005830/48d0f1f9387702299774251236/adp.10.m3u8";
29+
String _url = "https://1500005830.vod2.myqcloud.com/43843ec0vodtranscq1500005830/48d0f1f9387702299774251236/adp.10.m3u8";
3030
TXPlayInfoParams? _videoParams;
3131
int _appId = 0;
3232
String _fileId = "";

Flutter/example/pubspec.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
flutter:
1717
sdk: flutter
1818

19-
flutter_easyloading: ^3.0.5
19+
flutter_easyloading: 3.0.5
2020

2121
super_player:
2222
# When depending on this package from a real application you should use:
@@ -33,6 +33,10 @@ dependencies:
3333
# Use with the CupertinoIcons class for iOS style icons.
3434
cupertino_icons: ^1.0.2
3535

36+
dependency_overrides:
37+
# force override flutter_easyloading dep
38+
flutter_spinkit: 5.1.0
39+
3640
dev_dependencies:
3741
flutter_test:
3842
sdk: flutter

Flutter/ios/Classes/FTXAudioManager.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,13 @@ - (void)setVolume:(CGFloat)value
4242
{
4343
// `showsVolumeSlider` needs to be set to YES.
4444
volumeView.showsVolumeSlider = YES;
45-
// Get audio focus.
46-
[audioSession setActive:true error:nil];
4745
[_volumeSlider setValue:value animated:NO];
4846
[_volumeSlider sendActionsForControlEvents:UIControlEventTouchUpInside];
4947
[_volumeSlider sizeToFit];
5048
}
5149

5250
- (void)setVolumeUIVisible:(BOOL)volumeUIVisible
5351
{
54-
// Get audio focus.
55-
[audioSession setActive:true error:nil];
5652
volumeView.hidden = !volumeUIVisible;
5753
}
5854

Flutter/ios/Classes/FTXDownloadManager.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ - (TXVodDownloadMediaMsg *)buildMsgFromDownloadInfo:(TXVodDownloadMediaInfo *)in
199199
msg.playableDuration = @(info.playableDuration);
200200
msg.size = @(info.size);
201201
msg.downloadSize = @(info.downloadSize);
202+
msg.isResourceBroken = @(info.isResourceBroken);
202203
if(nil != info.url && info.url.length > 0) {
203204
msg.url = info.url;
204205
}

Flutter/ios/super_player.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'super_player'
7-
s.version = '12.9.0'
7+
s.version = '12.9.1'
88
s.summary = 'The super_player Flutter plugin is one of the sub-product SDKs of the audio/video terminal SDK (Tencent Cloud Video on Demand).'
99
s.description = <<-DESC
1010
player plugin.
@@ -26,7 +26,7 @@ player plugin.
2626
# Player_Premium SDK: s.dependency 'TXLiteAVSDK_Player_Premium'
2727
# Professional SDK: s.dependency 'TXLiteAVSDK_Professional'
2828
# If you want to specify the SDK version(eg 11.6.15041), use: s.dependency 'TXLiteAVSDK_Player','11.6.15041'
29-
s.dependency 'TXLiteAVSDK_Player','12.9.20063'
29+
s.dependency 'TXLiteAVSDK_Player','12.9.20085'
3030
# s.dependency 'FTXPiPKit'
3131
s.vendored_frameworks = [
3232
'localdep/FTXPiPKit.xcframework'

Flutter/lib/Core/common/common_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
part of SuperPlayer;
33

44
abstract class FPlayerPckInfo {
5-
static const String PLAYER_VERSION = "12.9.0";
5+
static const String PLAYER_VERSION = "12.9.1";
66
}

0 commit comments

Comments
 (0)