mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 默认缓冲区调小;当前解码格式查找+兜底
This commit is contained in:
@@ -505,7 +505,7 @@ class PlPlayerController {
|
||||
int bufferSize =
|
||||
setting.get(SettingBoxKey.expandBuffer, defaultValue: false)
|
||||
? (videoType.value == 'live' ? 64 * 1024 * 1024 : 32 * 1024 * 1024)
|
||||
: (videoType.value == 'live' ? 32 * 1024 * 1024 : 5 * 1024 * 1024);
|
||||
: (videoType.value == 'live' ? 16 * 1024 * 1024 : 3 * 1024 * 1024);
|
||||
Player player = _videoPlayerController ??
|
||||
Player(
|
||||
configuration: PlayerConfiguration(
|
||||
|
||||
Reference in New Issue
Block a user