fix?
This commit is contained in:
@ -367,13 +367,14 @@
|
||||
|
||||
if (Hls.isSupported()) {
|
||||
hls = new Hls({
|
||||
// Low latency configuration
|
||||
// Low latency configuration with increased buffer
|
||||
lowLatencyMode: true,
|
||||
backBufferLength: 90,
|
||||
maxBufferLength: 3,
|
||||
maxBufferSize: 1 * 1024 * 1024, // 1MB
|
||||
liveSyncDurationCount: 1,
|
||||
liveMaxLatencyDurationCount: 2,
|
||||
maxBufferLength: 10, // Increased from 3 to 10 seconds
|
||||
maxBufferSize: 3 * 1024 * 1024, // Increased from 1MB to 3MB
|
||||
liveSyncDurationCount: 3, // Keep 3 segments in sync
|
||||
liveMaxLatencyDurationCount: 5, // Max 5 segments latency before catchup
|
||||
maxMaxBufferLength: 30, // Maximum buffer length
|
||||
enableWorker: true,
|
||||
debug: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user