Architecture

Phase 1 architecture at a glance

The initial system is intentionally narrow: prove live transport, browser playback, and deployment automation before adding storage, recording, and analytics.

Edge capture

Raspberry Pi Zero 2 W captures camera output and publishes a live RTSP stream toward the Ubuntu server.

Media gateway

MediaMTX accepts ingest, exposes WebRTC playback, and becomes the boundary for low-latency viewing.

Application layer

ASP.NET Core owns health, stream metadata, auth, and future session authorization APIs.

Viewer app

Next.js provides the operator control room, stream status, and future live player screens.