mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Relax the fragment failure check of hls
This commit is contained in:
parent
eec08d4a3e
commit
b0f9d7906a
@ -78,7 +78,22 @@ const initHls = async (): Promise<Hls> => {
|
||||
autoStartLoad: false,
|
||||
// debug: true,
|
||||
startPosition: 0,
|
||||
fragLoadPolicy: loadPolicy,
|
||||
fragLoadPolicy: {
|
||||
default: {
|
||||
maxTimeToFirstByteMs: Infinity,
|
||||
maxLoadTimeMs: 60_000,
|
||||
timeoutRetry: {
|
||||
maxNumRetry: 5,
|
||||
retryDelayMs: 100,
|
||||
maxRetryDelayMs: 0,
|
||||
},
|
||||
errorRetry: {
|
||||
maxNumRetry: 5,
|
||||
retryDelayMs: 0,
|
||||
maxRetryDelayMs: 100,
|
||||
},
|
||||
},
|
||||
},
|
||||
keyLoadPolicy: loadPolicy,
|
||||
certLoadPolicy: loadPolicy,
|
||||
playlistLoadPolicy: loadPolicy,
|
||||
|
Loading…
x
Reference in New Issue
Block a user