mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
perf(proxy): enable Keep-Alive and playlist caching to fix 5s zap delay; tuned mobile player for micro-cuts
This commit is contained in:
1 parent
79fae261aa
commit
2ef1db8a68
2 files changed
+49
-10
No files matched your search
@@ -233,18 +233,18 @@
|
||||
const hls = new Hls({
|
||||
maxBufferLength: 60,
|
||||
maxMaxBufferLength: 120,
|
||||
liveSyncDurationCount: 3, // Reduced for faster initial sync on mobile
|
||||
liveMaxLatencyDurationCount: 15,
|
||||
liveSyncDurationCount: 5, // Balanced sync
|
||||
liveMaxLatencyDurationCount: 20,
|
||||
enableWorker: true,
|
||||
lowLatencyMode: true,
|
||||
lowLatencyMode: false, // Disabled for stability against micro-cuts
|
||||
// Robustness
|
||||
nudgeOffset: 0.2,
|
||||
nudgeMaxRetries: 10,
|
||||
maxLiveSyncPlaybackRate: 1.1,
|
||||
nudgeOffset: 0.6, // More aggressive jump over corrupted frames
|
||||
nudgeMaxRetries: 25,
|
||||
maxLiveSyncPlaybackRate: 1.2,
|
||||
// Turbo-Start specific
|
||||
startLevel: 0, // Force lowest level for instant start
|
||||
startLevel: 0,
|
||||
initialLiveManifestSize: 1,
|
||||
abrEwmaDefaultEstimate: 500000,
|
||||
abrEwmaDefaultEstimate: 700000,
|
||||
manifestLoadingRetryDelay: 500,
|
||||
levelLoadingRetryDelay: 500
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user