mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Fix mse check
This commit is contained in:
parent
a08b3eac76
commit
b12514ed37
@ -330,7 +330,7 @@ function MSEPlayer({
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (
|
if (
|
||||||
document.visibilityState === "visible" &&
|
document.visibilityState === "visible" &&
|
||||||
wsRef.current != undefined
|
wsRef.current != null
|
||||||
) {
|
) {
|
||||||
onError("stalled");
|
onError("stalled");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user