import { useEffect, useState } from 'react'; interface VideoFrameProps { videoRef: (element: HTMLVideoElement | null) => void; micMuted: boolean; audioMuted: boolean; preview: boolean; showOverlays?: boolean; inactiveLabel?: string; } export function VideoFrame({ videoRef, micMuted, audioMuted, preview, showOverlays = true, inactiveLabel, }: VideoFrameProps) { const [streaming, setStreaming] = useState(false); useEffect(() => { if (preview) setStreaming(false); }, [preview]); return (
); }