Add optional WebTransport frame transport

This commit is contained in:
2026-06-24 21:28:15 -07:00
parent d37694e4d3
commit 3e2ca8057b
9 changed files with 829 additions and 31 deletions

View File

@@ -6,6 +6,8 @@ services:
restart: unless-stopped
ports:
- "3000:3000"
# Uncomment to try WebTransport frame delivery over QUIC/UDP.
# - "3001:3001/udp"
environment:
PORT: "3000"
NODE_ENV: production
@@ -31,6 +33,10 @@ services:
MAX_WS_BUFFER_BYTES: "2097152"
MAX_AUDIO_QUEUE_BYTES: "4194304"
MAX_RELAY_BRANCH_QUEUE_BYTES: "8388608"
# websocket: default. webtransport: try QUIC frames first. auto: try QUIC when available, fall back to WebSocket.
FRAME_TRANSPORT: websocket
WEBTRANSPORT_PORT: "3001"
WEBTRANSPORT_PUBLIC_PORT: "3001"
RECENT_URLS_PATH: /app/data/recent-urls.json
FAVORITES_PATH: /app/data/favorites.json
# Set this and mount a host directory below to enable Play Local.