update server side whep stuff

This commit is contained in:
legop3
2025-11-13 23:52:58 -05:00
parent 7195e257b8
commit 7e7d644822
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -78,4 +78,13 @@ The script must be executed via `sudo` from the user that owns the repo. It will
- write `/etc/mediamtx/mediamtx.yml` that points to the Node servers `/mediamtx/auth` webhook
- create + enable `mediamtx.service` and `multirover.service`, both running as your repo user and pointing at the clone directly
Publishing rovers lives on a trusted network, so the generated config skips HTTP auth for the `publish` action (only playback hits the Node webhook). If you already ran an older installer, edit `/etc/mediamtx/mediamtx.yml` and add:
```yaml
authHTTPExclude:
- action: publish
```
Then restart `mediamtx.service` so WHIP pushes from the Pis stop getting rejected.
Once finished, update `server/config.yaml` with your admin passwords and restart `multirover.service` if you change it. To pull updates later, just `git pull`, re-run `npm install --production` inside `server/`, and restart the service—no need to rerun the installer.
+1
View File
@@ -75,6 +75,7 @@ webrtcLocalTCPAddress: :8189
authMethod: http
authHTTPAddress: http://127.0.0.1:8080/mediamtx/auth
authHTTPExclude:
- action: publish
- action: api
- action: metrics
- action: pprof