fix: production latency (hopefully)

This commit is contained in:
2026-01-26 16:18:36 +01:00
parent c0f3e9d52e
commit cc15a06ffb
5 changed files with 22 additions and 6 deletions

View File

@@ -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

View File

@@ -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