This commit is contained in:
legop3
2025-11-14 22:45:18 -05:00
parent 6cfdde30ea
commit d524c312cf
5 changed files with 15 additions and 22 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
3. **Web clients**
- Tiny helper (React hook or vanilla class) that:
1. Requests a viewer JWT for rover `<id>`.
2. Issues a `POST` to `/whep/rover-<id>` with `Authorization: Basic base64(token:token)` (token issued by the server when the client calls `video:request`).
1. Requests a viewer token for rover `<id>`.
2. Issues a `POST` to `<mediamtx-host>/<rover-id>/whep` with `Authorization: Basic base64(token:token)` (token issued by the server when the client calls `video:request`).
3. Maintains auto-reconnect timers on ICE failure so dashboard widgets can come/go without reloading the page.
- Operator dashboard mounts one player tied to the assigned rover. The spectator view instantiates one player per tile, muting + pausing hidden elements to keep CPU usage sane even when every rover is shown simultaneously.