Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
45
infra/mediamtx.yml
Normal file
45
infra/mediamtx.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
# MediaMTX configuration for Match Live TV
|
||||
# Docs: https://mediamtx.org/docs/references/configuration-file
|
||||
|
||||
logLevel: info
|
||||
|
||||
# Allow API from Docker network (Rails container)
|
||||
authInternalUsers:
|
||||
- user: any
|
||||
pass:
|
||||
ips: []
|
||||
permissions:
|
||||
- action: api
|
||||
- action: metrics
|
||||
- action: pprof
|
||||
- action: publish
|
||||
- action: read
|
||||
|
||||
api: yes
|
||||
apiAddress: :9997
|
||||
rtmp: yes
|
||||
rtmpAddress: :1935
|
||||
hls: yes
|
||||
hlsAddress: :8888
|
||||
hlsVariant: mpegts
|
||||
|
||||
pathDefaults:
|
||||
source: publisher
|
||||
overridePublisher: yes
|
||||
record: yes
|
||||
recordPath: /recordings/%path/%Y-%m-%d_%H-%M-%S
|
||||
recordSegmentDuration: 60s
|
||||
recordDeleteAfter: 48h
|
||||
|
||||
paths:
|
||||
# Dynamic session paths are created via MediaMTX HTTP API from Rails.
|
||||
# Template for reference (Rails sets alwaysAvailable per path):
|
||||
# match_{uuid}:
|
||||
# alwaysAvailable: true
|
||||
# alwaysAvailableFile: /slates/offline.mp4
|
||||
# alwaysAvailableTracks:
|
||||
# - codec: H264
|
||||
# - codec: MPEG4Audio
|
||||
# sampleRate: 48000
|
||||
# channelCount: 2
|
||||
all_others:
|
||||
Reference in New Issue
Block a user