# MediaMTX configuration for podsteadr. # Ingest: RTMP (OBS) + WebRTC/WHIP (browser). Output: HLS. Publish auth is # delegated to podsteadr via HTTP; stream status is polled from the API. logLevel: info api: yes apiAddress: :9997 # ---- authentication ------------------------------------------------------ authMethod: http authHTTPAddress: http://podsteadr:8095/api/mediamtx/auth authHTTPExclude: - action: api - action: metrics - action: pprof # ---- protocols ----------------------------------------------------------- rtsp: no srt: no moq: no rtmp: yes rtmpAddress: :1935 hls: yes hlsAddress: :8888 hlsVariant: lowLatency hlsAlwaysRemux: yes hlsAllowOrigins: ["*"] webrtc: yes webrtcAddress: :8889 webrtcLocalUDPAddress: :8189 webrtcAllowOrigins: ["*"] # ---- recording ----------------------------------------------------------- pathDefaults: record: yes recordPath: /recordings/%path/%Y-%m-%d_%H-%M-%S-%f recordFormat: fmp4 recordPartDuration: 1s recordSegmentDuration: 1h recordDeleteAfter: 168h paths: # Streams live at live/; publish requires the stream secret, # which podsteadr checks in the auth webhook. "~^live/[A-Za-z0-9]+$": {}