Compare commits
2 Commits
3c0174ff31
...
effb52c5df
| Author | SHA1 | Date |
|---|---|---|
|
|
effb52c5df | |
|
|
498832bdcb |
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
"_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_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.",
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ CONFIG_LISTENER_URL = (CONFIG.get('listener_url') or '').strip()
|
|||
# MediaMTX / SRT integration
|
||||
# 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)
|
||||
# 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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue