Fix mse check

This commit is contained in:
Nicolas Mowen 2024-06-16 19:28:00 -06:00
parent a08b3eac76
commit b12514ed37

View File

@ -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");
} }