- implement setup page with video feed and preview functionality

This commit is contained in:
2025-12-23 14:36:16 +00:00
parent 9394793669
commit 73c67ad992
7 changed files with 100 additions and 3 deletions

View File

@@ -8,12 +8,12 @@ type VideoFeedProps = {
mostRecentSighting: SightingType;
isLoading: boolean;
size: { width: number; height: number };
modeSetting?: number;
isModal?: boolean;
};
const VideoFeed = ({ mostRecentSighting, isLoading, size, modeSetting, isModal = false }: VideoFeedProps) => {
console.log(size);
const { state: cameraSettings, dispatch } = useCameraSettingsContext();
const contextMode = cameraSettings.mode;
const [localMode, setLocalMode] = useState(0);