cameras/scripts
Michael Mainguy 5824db8ea9 Add MediaMTX video bridge: pinned installer and supervised localhost process
- npm run video:install downloads the pinned MediaMTX v1.21.0 for this
  platform, verifies its SHA-256 against checksums committed in
  src/lib/mediamtx-install.ts, and installs it into gitignored bin/.
- On server start, instrumentation launches MediaMTX with a generated
  owner-only config: API and WebRTC signaling on 127.0.0.1, only the ICE
  port (UDP 8189) on the LAN, a hashed per-boot API password, no
  anonymous users, unused protocols off. Restarts on crash with backoff,
  stops with the server; VIDEO_BRIDGE=off skips it.
- Camera streams are added to MediaMTX at runtime, on demand, with the
  stored login; nothing with a password is written to disk or echoed.
- rtspSourceWithLogin() reads a profile's RTSP URI over ONVIF.
- Export vrek log (live video goal, decisions, codec finding).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 15:33:55 -05:00
..
camera-check.ts Add ONVIF camera app with a server-rendered camera dashboard 2026-09-19 08:40:32 -05:00
create-admin.mts Add admin login foundations: scrypt admin file, CLI, sessions 2026-09-19 09:46:40 -05:00
create-admin.test.ts Add admin login foundations: scrypt admin file, CLI, sessions 2026-09-19 09:46:40 -05:00
install-mediamtx.mts Add MediaMTX video bridge: pinned installer and supervised localhost process 2026-09-19 15:33:55 -05:00
probe-debug.mjs Add ONVIF camera app with a server-rendered camera dashboard 2026-09-19 08:40:32 -05:00