Waiting for cameras…
Connect cameras to your RemoteRig server and they will appear here automatically.
{cameras.map((camera) => (
))}
)}
import { Camera, Radio } from 'lucide-react' import { useSSE } from './hooks/useSSE' import { useCameraStore } from './store/useCameraStore' import { CameraCard } from './components' function App() { // Connect to SSE endpoint — auto-updates the camera store useSSE() // Subscribe to the camera store for reactivity. // getCameras / getOnlineCount / getRecordingCount pull from live state. const { getCameras, getOnlineCount, getRecordingCount } = useCameraStore() const cameras = getCameras() const onlineCount = getOnlineCount() const recordingCount = getRecordingCount() return (
Connect cameras to your RemoteRig server and they will appear here automatically.