flybrain/infra/config/mediamtx.yml
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

21 lines
891 B
YAML

# infra/config/mediamtx.yml — pushed verbatim to /etc/mediamtx.yml.
#
# Exactly the shape in docs/design/infra.md section 4. RTMP stays loopback
# (flycast publishes, flypush pulls, both on 127.0.0.1); HLS and WebRTC are
# LAN-reachable for local preview during P0/P1 test mode; API and metrics
# stay loopback. Do not add an NPM proxy host for 8888/8889 — see
# docs/runbook.md.
rtmpAddress: 127.0.0.1:1935 # publish and pull are loopback only
hls: yes # LAN preview lives here
hlsAddress: :8888
hlsVariant: mpegts # VLC-friendly; fMP4 low-latency HLS is flaky in VLC
hlsAlwaysRemux: yes # HLS is ready with no reader, so probes need no fake viewer
webrtc: yes
webrtcAddress: :8889
webrtcLocalUDPAddress: :8189
api: yes
apiAddress: 127.0.0.1:9997
metrics: yes
metricsAddress: 127.0.0.1:9998
paths:
live/fly: { source: publisher }