clean up whep delivery

This commit is contained in:
legop3
2025-11-14 01:45:06 -05:00
parent 31e31bfe2d
commit c0dce561bd
9 changed files with 40 additions and 28 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ Each rover runs mediaMTX locally to capture the Pi camera, and the control serve
## Pi (publisher)
- mediaMTX samples the Pi camera (`paths.rovercam.source: rpiCamera`) and exposes the HTTP API on `http://127.0.0.1:9997`.
- `/etc/roverd.yaml` contains `media.whepUrl`, pointing at the Pis own WHEP endpoint (e.g. `http://roomba-alpha.local:8889/whep/rovercam`). This is what the central server will pull.
- `roverd` automatically detects the Pis own WHEP endpoint (e.g. `http://roomba-alpha.local:8889/whep/rovercam`) and reports a `bridgeWhepUrl` (converted to `whep://.../whep`) to the server. No manual per-rover video URL configuration is required.
- The `media.manage` flag keeps the local service alive via `systemctl` and hits the API for health checks (`media.healthUrl`, defaults to `http://127.0.0.1:9997/v3/paths/list`).
## Control server (viewer)