mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix: production latency (hopefully)
This commit is contained in:
@@ -17,9 +17,10 @@ services:
|
||||
- 6379:6379
|
||||
mediamtx:
|
||||
image: bluenviron/mediamtx:latest
|
||||
ports:
|
||||
- 8890:8890/udp
|
||||
- 8891:8888
|
||||
- 9997:9997
|
||||
network_mode: "host"
|
||||
# ports:
|
||||
# - 8890:8890/udp
|
||||
# - 8891:8888
|
||||
# - 9997:9997
|
||||
volumes:
|
||||
- ./mediamtx.yml:/mediamtx.yml
|
||||
@@ -5,9 +5,15 @@ paths:
|
||||
srt: yes
|
||||
srtAddress: :8890
|
||||
|
||||
# HLS Configuration - Low Latency HLS (LL-HLS)
|
||||
hls: yes
|
||||
hlsAddress: :8891
|
||||
hlsSegmentCount: 7
|
||||
hlsSegmentDuration: 500ms
|
||||
hlsPartDuration: 200ms
|
||||
hlsMuxerCloseAfter: 5s
|
||||
|
||||
authMethod: http
|
||||
authHTTPAddress: http://192.168.1.47:3000/api/mediamtx/publish
|
||||
authHTTPAddress: http://localhost:3000/api/mediamtx/publish
|
||||
|
||||
api: yes
|
||||
api: yes
|
||||
|
||||
Reference in New Issue
Block a user