feat: srt support and auth

This commit is contained in:
2025-12-13 21:19:13 +01:00
parent c99ace0ef5
commit 3b49f8d25a
4 changed files with 68 additions and 2 deletions

View File

@@ -49,4 +49,11 @@ services:
echo "testing nginx config..."
/usr/local/nginx/sbin/nginx -t
/usr/local/nginx/sbin/nginx -g 'daemon off;'
/usr/local/nginx/sbin/nginx -g 'daemon off;'
mediamtx:
image: bluenviron/mediamtx:latest
ports:
- 8890:8890/udp
- 8891:8888
volumes:
- ./mediamtx.yml:/mediamtx.yml

11
dev/mediamtx.yml Normal file
View File

@@ -0,0 +1,11 @@
paths:
all:
source: publisher
srt: yes
srtAddress: :8890
hls: yes
authMethod: http
authHTTPAddress: http://192.168.1.47:3000/api/mediamtx/publish