MediaMTX: write webrtcAdditionalHosts into the generated config (env-based value left it empty and MediaMTX refused to start)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 00:48:27 -05:00
parent b2869c3740
commit 357bb61b65
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ webrtcAddress: :8889
webrtcLocalUDPAddress: :8189
webrtcLocalTCPAddress: :8189
webrtcIPsFromInterfaces: no
# webrtcAdditionalHosts is set via env MTX_WEBRTCADDITIONALHOSTS (= the public hostname) in docker-compose.yml
webrtcAdditionalHosts: [media.example.com] # public hostname browsers can reach for ICE (configure.py fills this)
rtmp: yes
rtmpAddress: :1935