From b4171eddc14819d1ae2218d2fe1238ee8aaa5e55 Mon Sep 17 00:00:00 2001 From: legop3 Date: Tue, 18 Nov 2025 18:33:40 -0500 Subject: [PATCH] update stun servers and stuff --- problems.md | 7 ++++++- server/mediamtx/mediamtx.yml | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/problems.md b/problems.md index 7a380593..c4a4b3f8 100644 --- a/problems.md +++ b/problems.md @@ -1,2 +1,7 @@ ## server -> client comms -- need to throttle sensor sending, maybe only send one in every 5 packets. \ No newline at end of file +- need to throttle sensor sending, maybe only send one in every 5 packets. + +## 3d models for camera: +- https://www.thingiverse.com/thing:2873677 +- https://www.printables.com/model/356894-raspberry-camera-module-with-automatic-ir-cut-swit +- https://www.thingiverse.com/thing:4514531 diff --git a/server/mediamtx/mediamtx.yml b/server/mediamtx/mediamtx.yml index ac8bf89a..3154e941 100644 --- a/server/mediamtx/mediamtx.yml +++ b/server/mediamtx/mediamtx.yml @@ -15,9 +15,18 @@ hls: no webrtc: yes webrtcLocalUDPAddress: :8189 webrtcLocalTCPAddress: :8189 -webrtcAdditionalHosts: [] -webrtcICEServers2: [] +webrtcAdditionalHosts: ['rover.otter.land', '192.168.0.100'] +webrtcICEServers2: + # Google public STUN (world-wide, very commonly used) + - url: stun:stun.l.google.com:19302 + - url: stun:stun1.l.google.com:19302 + - url: stun:stun2.l.google.com:19302 + - url: stun:stun3.l.google.com:19302 + - url: stun:stun4.l.google.com:19302 + # Cloudflare STUN (anycast, global PoPs) + - url: stun:stun.cloudflare.com:3478 + srt: yes srtAddress: :9000 @@ -30,7 +39,7 @@ authHTTPExclude: - action: pprof paths: - all: + ~^video/.+: source: publisher sourceOnDemand: no # webrtcMaxPlayoutDelay: 0