fix(player): 隔离播放资源所有权并修复黑屏
This commit is contained in:
1 parent
54eb5a60a8
commit
bb2c729a7e
9 files changed
+223
-25
No files matched your search
@@ -290,6 +290,10 @@ class PlayerLogic extends ChangeNotifier {
|
||||
activate: activatePlayer,
|
||||
coordinator: coordinator,
|
||||
waitForFrame: _waitForFrame,
|
||||
owner: homeMode ? PlaybackSessionOwner.home : PlaybackSessionOwner.player,
|
||||
dramaIdAt: (index) => index >= 0 && index < queue.length
|
||||
? queue.entryAt(index).drama.id
|
||||
: null,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1231,7 +1235,6 @@ class PlayerLogic extends ChangeNotifier {
|
||||
initialIndex: index,
|
||||
wallet: wallet,
|
||||
downloads: downloads,
|
||||
isolatePlaybackSession: true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user