relay approach

This commit is contained in:
2026-05-01 23:21:16 -07:00
parent 2ec1b056a0
commit 1e214e8812
3 changed files with 826 additions and 29 deletions

View File

@@ -9,9 +9,14 @@ services:
environment:
PORT: "3000"
NODE_ENV: production
# split: smoothest, two upstream connections.
# relay: one upstream connection, separate audio/frame ffmpeg workers.
# single: one upstream connection and one ffmpeg worker; fallback only.
PLAYBACK_CONNECTION_MODE: relay
FFMPEG_LOG_LEVEL: warning
FFMPEG_INPUT_SEEKABLE: "0"
MAX_AUDIO_QUEUE_BYTES: "16777216"
MAX_RELAY_BRANCH_QUEUE_BYTES: "16777216"
RECENT_URLS_PATH: /app/data/recent-urls.json
extra_hosts:
- "host.docker.internal:host-gateway"