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
chenjun3_wd
2024-03-27 21:57:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53fa6ed22ac7ac3df597c4c142adcaeaaac8508f
53fa6ed2
1 parent
b0d1bf6b
早晚报 创建音频判空保护
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
sight_harmony/features/wdPlayer/src/main/ets/controller/WDPlayerController.ets
sight_harmony/features/wdPlayer/src/main/ets/controller/WDPlayerController.ets
View file @
53fa6ed
...
...
@@ -61,7 +61,10 @@ export class WDPlayerController {
this.avPlayer.url = this.url;
break;
case AVPlayerStatus.INITIALIZED:
if (this.surfaceId) {
this.avPlayer.surfaceId = this.surfaceId;
}
this.avPlayer?.prepare();
break;
case AVPlayerStatus.PREPARED:
...
...
Please
register
or
login
to post a comment