Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-11-06 10:22:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fde9e48ad85d4982e442d1c14890711dfe355f03
fde9e48a
1 parent
d62597dc
feat:优化竖屏直播,切垫片后返回,直播未恢复直播问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
View file @
fde9e48
...
...
@@ -136,6 +136,11 @@ export struct DetailPlayVLivePage {
const padObj = JSON.parse(liveRoomItemBean.data ?? "") as Record<string, string | number | boolean>
const showPad = padObj["showPad"] == "1"
this.liveDetailPageLogic.showPad = showPad
if (!showPad) {
///aboutToDisappear时playerController被release了,所以要重新初始化
this.playerController = new WDAliPlayerController()
}
} break
default: {
Logger.warn(TAG, "暂未处理类型:" + liveRoomItemBean.optionType)
...
...
Please
register
or
login
to post a comment