提交 7a4bc7ac authored 作者: kongdywang's avatar kongdywang

1. Add DRM playback API

2. update to 12.2.1
上级 ce5f329a
......@@ -259,3 +259,16 @@ Professional 分支:Android & iOS 端集成TXLiteAVSDK_Professional lastest版
- Supports encrypted playback of MP4
- Added support for HEVC playback downgrade
- Fix other known issues.
#### Version: 12.2.1 2024.12.27
##### Features:
- set Android TXLiteAVSDK_Player to 12.2.0.15072,tag:release_player_v12.2.1
- set iOS TXLiteAVSDK_Player to 12.2.16956, tag:release_player_v12.2.1
- Fix the issue that picture-in-picture cannot be launched on some Android systems.
- Fix the issue of abnormal use after cold startup on some Android systems.
- Fix the issue that there is no subtitle callback without setting config on iOS.
- Fix the issue that there is no callback in some cases of downloading and pre-downloading.
- Add DRM playback API.
- Fix other known issues.
\ No newline at end of file
......@@ -5,7 +5,7 @@ buildLog() {
}
inputVersion=$1
export VERSION_NAME="12.2.0"
export VERSION_NAME="12.2.1"
if [ -n "$inputVersion" ]; then
VERSION_NAME=$inputVersion
fi
......
......@@ -4,7 +4,7 @@ rootProject.ext {
supportSdkVersion = "26.0.1"
minSdkVersion = 19
targetSdkVersion = 28
playerVersion = '12.2.0'
playerVersion = '12.2.1'
compat = "androidx.appcompat:appcompat:1.6.1"
/**
......@@ -14,5 +14,5 @@ rootProject.ext {
Professional SDK: liteavSdk="com.tencent.liteav:LiteAVSDK_Professional:latest.release"
If you want to specify the SDK version(eg 11.7.0.13946), use: liteavSdk="com.tencent.liteav:LiteAVSDK_Player:11.7.0.13946"
*/
liteavSdk="com.tencent.liteav:LiteAVSDK_Player:12.2.0.15065"
liteavSdk="com.tencent.liteav:LiteAVSDK_Player:12.2.0.15072"
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'super_player'
s.version = '12.2.0'
s.version = '12.2.1'
s.summary = 'player plugin.'
s.description = <<-DESC
player plugin.
......@@ -26,7 +26,7 @@ player plugin.
# Player_Premium SDK: s.dependency 'TXLiteAVSDK_Player_Premium'
# Professional SDK: s.dependency 'TXLiteAVSDK_Professional'
# If you want to specify the SDK version(eg 11.6.15041), use: s.dependency 'TXLiteAVSDK_Player','11.6.15041'
s.dependency 'TXLiteAVSDK_Player','12.2.16945'
s.dependency 'TXLiteAVSDK_Player','12.2.16956'
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
......
......@@ -2,5 +2,5 @@
part of SuperPlayer;
abstract class FPlayerPckInfo {
static const String PLAYER_VERSION = "12.2.0";
static const String PLAYER_VERSION = "12.2.1";
}
\ No newline at end of file
......@@ -136,6 +136,14 @@ class TXVodPlayerController extends ChangeNotifier implements ValueListenable<TX
..psign = params.psign);
}
Future<void> startPlayDrm(TXPlayerDrmBuilder drmBuilder) async {
if (_isNeedDisposed) return;
await _initPlayer.future;
_changeState(TXPlayerState.buffering);
printVersionInfo();
await _vodPlayerApi.startPlayDrm(drmBuilder.toMsg());
}
/// The shared texture ID is a unique integer value that is used to identify a texture,
/// and it is passed back after the texture is prepared in the native layer.
/// By listening to this value, the shared texture can be set where needed.
......
name: super_player
description: player plugin.
version: 12.2.0
version: 12.2.1
author:
homepage:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论