From b12514ed37cb146839a4e2da145968774d3d4d16 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 16 Jun 2024 19:28:00 -0600 Subject: [PATCH] Fix mse check --- web/src/components/player/MsePlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/player/MsePlayer.tsx b/web/src/components/player/MsePlayer.tsx index 2b9a8d4fb..80844e749 100644 --- a/web/src/components/player/MsePlayer.tsx +++ b/web/src/components/player/MsePlayer.tsx @@ -330,7 +330,7 @@ function MSEPlayer({ setTimeout(() => { if ( document.visibilityState === "visible" && - wsRef.current != undefined + wsRef.current != null ) { onError("stalled"); }