Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
tx_player_fork
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蒋俊
tx_player_fork
Commits
56641ff3
提交
56641ff3
authored
9月 09, 2025
作者:
kongdywang
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix the issue of restoration failure on some Android devices with PIP & update to 12.7.4
上级
678ae76d
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
27 行增加
和
11 行删除
+27
-11
CHANGELOG.md
Flutter/CHANGELOG.md
+7
-0
buildVersionOnMac.sh
Flutter/CI/buildVersionOnMac.sh
+1
-1
config.gradle
Flutter/android/config.gradle
+1
-1
FTXLivePlayer.java
...in/java/com/tencent/vod/flutter/player/FTXLivePlayer.java
+3
-1
FlutterPipImplActivity.java
...va/com/tencent/vod/flutter/ui/FlutterPipImplActivity.java
+9
-3
super_player.podspec
Flutter/ios/super_player.podspec
+1
-1
common_config.dart
Flutter/lib/Core/common/common_config.dart
+2
-1
pubspec.yaml
Flutter/pubspec.yaml
+1
-1
player_constants.dart
...idget/superplayer_widget/lib/common/player_constants.dart
+1
-1
pubspec.yaml
FlutterWidget/superplayer_widget/pubspec.yaml
+1
-1
没有找到文件。
Flutter/CHANGELOG.md
浏览文件 @
56641ff3
#### Version: 12.7.4 2025.09.09
##### Features:
-
Fix the issue of restoration failure on some Android devices with PIP
#### Version: 12.7.3 2025.09.03
##### Features:
...
...
Flutter/CI/buildVersionOnMac.sh
浏览文件 @
56641ff3
...
...
@@ -5,7 +5,7 @@ buildLog() {
}
inputVersion
=
$1
export
VERSION_NAME
=
"12.7.
3
"
export
VERSION_NAME
=
"12.7.
4
"
if
[
-n
"
$inputVersion
"
]
;
then
VERSION_NAME
=
$inputVersion
fi
...
...
Flutter/android/config.gradle
浏览文件 @
56641ff3
...
...
@@ -4,7 +4,7 @@ rootProject.ext {
supportSdkVersion
=
"26.0.1"
minSdkVersion
=
19
targetSdkVersion
=
28
playerVersion
=
"12.7.
3
"
playerVersion
=
"12.7.
4
"
compat
=
"androidx.appcompat:appcompat:1.6.1"
/**
...
...
Flutter/android/src/main/java/com/tencent/vod/flutter/player/FTXLivePlayer.java
浏览文件 @
56641ff3
...
...
@@ -159,7 +159,7 @@ public class FTXLivePlayer extends FTXLivePlayerRenderHost implements TXFlutterL
}
int
startPlayerLivePlay
(
String
url
)
{
LiteavLog
.
d
(
TAG
,
"startLivePlay:"
);
LiteavLog
.
i
(
TAG
,
"startLivePlay:"
);
if
(
null
!=
mLivePlayer
)
{
if
(
null
!=
mCurRenderView
)
{
mCurRenderView
.
setPlayer
(
this
);
...
...
@@ -177,6 +177,7 @@ public class FTXLivePlayer extends FTXLivePlayerRenderHost implements TXFlutterL
}
int
stopPlay
(
boolean
isNeedClearLastImg
)
{
LiteavLog
.
i
(
TAG
,
"called stopPlay isNeedClearLastImg:"
+
isNeedClearLastImg
);
int
result
=
Uninitialized
;
if
(
mLivePlayer
!=
null
)
{
mLastPlayEvent
=
-
1
;
...
...
@@ -201,6 +202,7 @@ public class FTXLivePlayer extends FTXLivePlayerRenderHost implements TXFlutterL
}
void
pausePlayer
()
{
LiteavLog
.
i
(
TAG
,
"called pausePlayer"
);
if
(
mLivePlayer
!=
null
)
{
mLivePlayer
.
pauseVideo
();
mLivePlayer
.
pauseAudio
();
...
...
Flutter/android/src/main/java/com/tencent/vod/flutter/ui/FlutterPipImplActivity.java
浏览文件 @
56641ff3
...
...
@@ -330,8 +330,7 @@ public class FlutterPipImplActivity extends Activity implements ITXVodPlayListen
}
mPlayerHolder
.
pause
();
int
codeEvent
=
mIsNeedToStop
?
FTXEvent
.
EVENT_PIP_MODE_ALREADY_EXIT
:
FTXEvent
.
EVENT_PIP_MODE_RESTORE_UI
;
sendPipEvent
(
codeEvent
,
data
);
exitPip
(
codeEvent
==
FTXEvent
.
EVENT_PIP_MODE_ALREADY_EXIT
);
exitPip
(
codeEvent
==
FTXEvent
.
EVENT_PIP_MODE_ALREADY_EXIT
,
codeEvent
,
data
);
}
@Override
...
...
@@ -433,7 +432,7 @@ public class FlutterPipImplActivity extends Activity implements ITXVodPlayListen
* Close immediately without delay. Generally, set it to `true` to close picture-in-picture
* mode and `false` to restore picture-in-picture mode.
*/
private
void
exitPip
(
boolean
closeImmediately
)
{
private
void
exitPip
(
boolean
closeImmediately
,
int
codeEvent
,
Bundle
data
)
{
if
(
mIsPipFinishing
)
{
return
;
}
...
...
@@ -445,6 +444,9 @@ public class FlutterPipImplActivity extends Activity implements ITXVodPlayListen
if
(!
closeImmediately
)
{
mVideoRenderView
.
setVisibility
(
View
.
GONE
);
mVideoProgress
.
setVisibility
(
View
.
GONE
);
mMainHandler
.
postDelayed
(
new
Runnable
()
{
@Override
public
void
run
()
{
/*
The PiP window can launch its own Activity. Therefore,
we can initiate our own here. By executing the termination code during the launch,
...
...
@@ -453,8 +455,12 @@ public class FlutterPipImplActivity extends Activity implements ITXVodPlayListen
it can display back to the original page.
*/
moveCurActToFront
();
sendPipEvent
(
codeEvent
,
data
);
}
},
300
);
}
else
{
destroyPipAct
();
sendPipEvent
(
codeEvent
,
data
);
}
}
}
...
...
Flutter/ios/super_player.podspec
浏览文件 @
56641ff3
...
...
@@ -4,7 +4,7 @@
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'super_player'
s
.
version
=
'12.7.
3
'
s
.
version
=
'12.7.
4
'
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).'
s
.
description
=
<<-
DESC
player plugin.
...
...
Flutter/lib/Core/common/common_config.dart
浏览文件 @
56641ff3
...
...
@@ -2,5 +2,5 @@
part of
SuperPlayer
;
abstract
class
FPlayerPckInfo
{
static
const
String
PLAYER_VERSION
=
"12.7.
3
"
;
static
const
String
PLAYER_VERSION
=
"12.7.
4
"
;
}
\ No newline at end of file
Flutter/pubspec.yaml
浏览文件 @
56641ff3
name
:
super_player
description
:
The super_player Flutter plugin is one of the sub-product SDKs of the audio/video terminal SDK (Tencent Cloud Video on Demand).
version
:
12.7.
3
version
:
12.7.
4
homepage
:
https://github.com/LiteAVSDK/Player_Flutter
environment
:
...
...
FlutterWidget/superplayer_widget/lib/common/player_constants.dart
浏览文件 @
56641ff3
...
...
@@ -3,5 +3,5 @@ part of demo_super_player_lib;
class
PlayerConstants
{
static
const
PKG_NAME
=
"superplayer_widget"
;
static
const
String
PLAYER_WIDGET_VERSION
=
"12.7.
3
"
;
static
const
String
PLAYER_WIDGET_VERSION
=
"12.7.
4
"
;
}
FlutterWidget/superplayer_widget/pubspec.yaml
浏览文件 @
56641ff3
name
:
superplayer_widget
description
:
superplayer,base on vodplayer
version
:
12.7.
3
version
:
12.7.
4
environment
:
sdk
:
'
>=2.17.0
<4.0.0'
...
...
蒋俊
@18223204110
被提及 commit
aab28778
·
12月 12, 2025
被提及 commit
aab28778
被提及 commit aab28778e16b01099a5ec1863ac8eaf5b1f370f3
切换提交列表
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论