mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-15 03:07:53 +02:00
fix: stabilize IPTV playback and implement request throttling
- Add playback lock to XtreamService to delay EPG during stream init - Increase MPEG-TS stash buffer to 512KB for better stability - Enable liveBufferLatencyChasing to prevent stream drift - Tune HLS parameters for balanced speed and reliability
This commit is contained in:
1 parent
0ca6f96710
commit
df4bcfd07f
5 files changed
+48
-22
No files matched your search
+4
-4
@@ -253,15 +253,15 @@
|
||||
const isTurbo = urlParams.get('turbo') === 'true';
|
||||
|
||||
const hls = new Hls({
|
||||
maxBufferLength: isTurbo ? 30 : 45,
|
||||
maxBufferLength: isTurbo ? 45 : 50,
|
||||
enableWorker: true,
|
||||
liveSyncDurationCount: isTurbo ? 2 : 4,
|
||||
liveSyncDurationCount: isTurbo ? 3 : 4, // Improved stability
|
||||
// Turbo-Start specific
|
||||
startLevel: isTurbo ? 0 : -1,
|
||||
initialLiveManifestSize: 1,
|
||||
abrEwmaDefaultEstimate: 500000,
|
||||
manifestLoadingRetryDelay: 500,
|
||||
levelLoadingRetryDelay: 500
|
||||
manifestLoadingRetryDelay: 800,
|
||||
levelLoadingRetryDelay: 800
|
||||
});
|
||||
window.hlsInstance = hls;
|
||||
hls.loadSource(url);
|
||||
|
||||
Reference in new issue
Block a user