38 lines
684 B
YAML
38 lines
684 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)
|
|
hls: yes
|
|
hlsAddress: :8888
|
|
hlsAlwaysRemux: yes
|
|
hlsSegmentCount: 7
|
|
hlsSegmentDuration: 1s
|
|
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
|