Files
tuner/mediamtx.yml
Scott Register 88a189de34 Tuner v1: HLS pipeline with playback/ingest modes
FFmpeg -> MediaMTX -> HLS relay with runtime-configurable modes:
- PLAYBACK_MODE: standard (mpegts), fmp4 (HEVC), llhls
- INGEST_MODE: rtmp, rtsp
- INGEST_AUDIO_MODE: aac, copy
- Hourly playlist auto-refresh from upstream URL
- Fullscreen video UI with collapsible sidebar, upstream-down banner
- Same-origin HLS proxy for HTTPS deployments

Tagged as the last HLS-based version before the mpegts.js (v2) rework.
2026-06-12 19:17:15 -07:00

42 lines
917 B
YAML

###############################################
# MediaMTX configuration for Tuner
###############################################
# Logging
logLevel: info
logDestinations: [stdout]
# REST API (for diagnostics)
api: yes
apiAddress: :9997
# RTMP server (ingest from OBS / FFmpeg)
rtmp: yes
rtmpAddress: :1935
# HLS server (output to viewers)
# Note: hlsVariant / segment / part durations are overridden at runtime by the
# backend via MTX_HLS* environment variables, based on PLAYBACK_MODE
# (standard = mpegts, fmp4 = fragmented MP4, llhls = lowLatency).
hls: yes
hlsAddress: :8888
hlsAlwaysRemux: yes
hlsVariant: mpegts
hlsSegmentCount: 7
hlsSegmentDuration: 2s
hlsAllowOrigin: '*'
# RTSP server (used internally for FFmpeg → MediaMTX push, supports HEVC)
rtsp: yes
rtspAddress: :8554
# Disable unused protocols
webrtc: no
srt: no
record: no
# Path configuration
paths:
live/stream:
source: publisher