Compare commits

...

2 Commits

3 changed files with 13 additions and 3 deletions

View File

@@ -279,6 +279,7 @@ def write_mediamtx(streamers, public_host=""):
logLevel: info
rtsp: no
moq: no
metrics: no
pprof: no

View File

@@ -1,11 +1,19 @@
services:
mediamtx:
image: bluenviron/mediamtx:latest
image: bluenviron/mediamtx:latest-ffmpeg # alpine variant: has sh + wget for the is-live Discord hook
container_name: mediamtx
user: "1000:1000" # recordings owned by the debian user, so the archive pull can delete them
environment:
LIVE_WEBHOOK_URL: ${LIVE_WEBHOOK_URL:-}
LIVE_HOST: ${LIVE_HOST:-live.example.com}
ports:
- "1935:1935" # RTMP ingest
- "8890:8890/udp" # SRT ingest
- "1935:1935" # RTMP ingest
- "8890:8890/udp" # SRT ingest
- "8189:8189/udp" # WebRTC media (viewers + Go Live)
- "8189:8189/tcp" # WebRTC ICE-TCP fallback
- "127.0.0.1:8888:8888" # HLS -> Caddy live.HOST/hls/*
- "127.0.0.1:8889:8889" # WebRTC -> Caddy live.HOST/webrtc/*
- "127.0.0.1:9997:9997" # API -> Caddy live.HOST/api/*
volumes:
- ./mediamtx.yml:/mediamtx.yml:ro
- /srv/media/streams:/recordings

View File

@@ -2,6 +2,7 @@
logLevel: info
rtsp: no
moq: no
metrics: no
pprof: no