mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -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,
|
autoStartLoad: false,
|
||||||
// debug: true,
|
// debug: true,
|
||||||
startPosition: 0,
|
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,
|
keyLoadPolicy: loadPolicy,
|
||||||
certLoadPolicy: loadPolicy,
|
certLoadPolicy: loadPolicy,
|
||||||
playlistLoadPolicy: loadPolicy,
|
playlistLoadPolicy: loadPolicy,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user