techdj/config.example.json

29 lines
1.2 KiB
JSON

{
"_comment": "TechDJ Pro - Configuration File. Copy to config.json and edit.",
"host": "0.0.0.0",
"dj_port": 5000,
"listener_port": 5001,
"dj_panel_password": "",
"secret_key": "",
"music_folder": "",
"stream_bitrate": "192k",
"max_upload_mb": 500,
"cors_origins": "*",
"debug": false,
"_comment_listener_url": "Public URL of the listener page. Shown in DJ panel as the shareable stream link. Leave empty to auto-detect.",
"listener_url": "",
"_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.",
"srt_allowed_ips": []
}