Live video on the AT Protocol

remove logging

-4
-4
js/app/components/player/video-retry.tsx
··· 12 const retryTimeoutRef = useRef<NodeJS.Timeout | null>(null); 13 const segment = useSegment(); 14 15 - const status = usePlayerStore((x) => x.status); 16 const offline = usePlayerStore((x) => x.offline); 17 const spurl = useStreamplaceStore((x) => x.url); 18 - 19 - console.log("Status", status, offline); 20 21 useEffect(() => { 22 if ( ··· 27 ) { 28 const jitter = 500 + Math.random() * 1500; 29 retryTimeoutRef.current = setTimeout(() => { 30 - console.log("Detected new segment and stalled state, retrying video"); 31 lastSegmentRef.current = segment?.startTime; 32 }, jitter); 33 }
··· 12 const retryTimeoutRef = useRef<NodeJS.Timeout | null>(null); 13 const segment = useSegment(); 14 15 const offline = usePlayerStore((x) => x.offline); 16 const spurl = useStreamplaceStore((x) => x.url); 17 18 useEffect(() => { 19 if ( ··· 24 ) { 25 const jitter = 500 + Math.random() * 1500; 26 retryTimeoutRef.current = setTimeout(() => { 27 lastSegmentRef.current = segment?.startTime; 28 }, jitter); 29 }