diff --git a/web/components/video/OwncastPlayer/OwncastPlayer.tsx b/web/components/video/OwncastPlayer/OwncastPlayer.tsx index f92ee9c6f..cc3cb0ffe 100644 --- a/web/components/video/OwncastPlayer/OwncastPlayer.tsx +++ b/web/components/video/OwncastPlayer/OwncastPlayer.tsx @@ -288,6 +288,13 @@ export const OwncastPlayer: FC = ({ source, online }) => { } }, [clockSkew]); + useEffect( + () => () => { + stopLatencyCompensator(); + }, + [], + ); + return (
{online && (