# BrownDogGamesLive - minimal MediaMTX configuration.
# OBS publishes via WHIP to /live/<creator>/whip.
# Caddy exposes the WebRTC/HLS endpoints publicly.
# Keep this file intentionally small so it remains compatible with the
# MediaMTX runtime bundled with the Windows creator app.

logLevel: info
logDestinations: [stdout]
logStructured: false

api: true
apiAddress: 127.0.0.1:9997

rtmp: true
rtmpAddress: :1935

hls: true
hlsAddress: :8888
hlsAllowOrigins: ["*"]

webrtc: true
webrtcAddress: :8889
webrtcAllowOrigins: ["*"]
webrtcLocalUDPAddress: :8189
webrtcLocalTCPAddress: :8189
webrtcAdditionalHosts:
  - stream.browndoggames.online

pathDefaults:
  source: publisher
  overridePublisher: true

paths:
  "~^live/.+$":
    source: publisher
  all_others:
