mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
feat: srt support and auth
This commit is contained in:
@@ -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
11
dev/mediamtx.yml
Normal 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
|
||||
Reference in New Issue
Block a user