mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Increase the initial stall timeout of the MSE player (#17359)
This commit is contained in:
parent
983dd87ffb
commit
9080305070
@ -461,6 +461,7 @@ function MSEPlayer({
|
||||
setBufferTimeout(undefined);
|
||||
}
|
||||
|
||||
const timeoutDuration = bufferTime == 0 ? 5000 : 3000;
|
||||
setBufferTimeout(
|
||||
setTimeout(() => {
|
||||
if (
|
||||
@ -471,7 +472,7 @@ function MSEPlayer({
|
||||
onDisconnect();
|
||||
onError("stalled");
|
||||
}
|
||||
}, 3000),
|
||||
}, timeoutDuration),
|
||||
);
|
||||
}
|
||||
}, [
|
||||
|
Loading…
Reference in New Issue
Block a user