diff --git a/config.example.json b/config.example.json index fb7a730..2a95169 100644 --- a/config.example.json +++ b/config.example.json @@ -20,7 +20,7 @@ "_comment_mediamtx": "MediaMTX / SRT integration. mediamtx_webhook_secret is the shared secret sent in the X-MediaMTX-Webhook-Secret header by webhook callers (leave blank to disable auth). mediamtx_rtsp_url is the RTSP URL MediaMTX exposes for the incoming SRT path.", "mediamtx_webhook_secret": "", "_comment_mediamtx_srt_port": "SRT ingest port MediaMTX listens on. Flask does not bind this port — set it in mediamtx.yml. Stored here for reference.", - "mediamtx_srt_port": 5005, + "mediamtx_srt_port": 8890, "mediamtx_rtsp_url": "rtsp://127.0.0.1:8554/live", "mediamtx_hls_url": "http://techy.music:8888/aussie_dj/index.m3u8", "_comment_srt_allowed_ips": "List of DJ source IPs allowed to publish an SRT stream. Empty = allow all.", diff --git a/server.py b/server.py index 154b694..9bc1971 100644 --- a/server.py +++ b/server.py @@ -49,7 +49,7 @@ CONFIG_LISTENER_URL = (CONFIG.get('listener_url') or '').strip() # secret shared with MediaMTX webhook requests (leave blank to disable auth) _SRT_WEBHOOK_SECRET = (CONFIG.get('mediamtx_webhook_secret') or '').strip() # SRT ingest port MediaMTX listens on (Flask does not bind this — configure in mediamtx.yml) -_MEDIAMTX_SRT_PORT = int(CONFIG.get('mediamtx_srt_port') or 5005) +_MEDIAMTX_SRT_PORT = int(CONFIG.get('mediamtx_srt_port') or 8890) # RTSP URL MediaMTX exposes for the incoming SRT path (used by ffmpeg to pull audio) _MEDIAMTX_RTSP_URL = (CONFIG.get('mediamtx_rtsp_url') or 'rtsp://127.0.0.1:8554/live').strip() _MEDIAMTX_HLS_URL = (CONFIG.get('mediamtx_hls_url') or 'http://techy.music:8888/aussie_dj/index.m3u8').strip()