fix: expose TURN relay ports for NAT traversal

Limit TURN relay range to 30000-30100 and expose via docker-compose.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-28 11:39:50 -08:00
parent 2f0cb13ecb
commit cf60b8733f
2 changed files with 3 additions and 0 deletions

View File

@ -321,6 +321,7 @@ services:
- "17880:7880"
- "17881:7881"
- "3478:3478/udp"
- "30000-30100:30000-30100/udp"
- "50000-50200:50000-50200/udp"
volumes:
- ./livekit.yaml:/etc/livekit.yaml:ro

View File

@ -9,6 +9,8 @@ turn:
enabled: true
udp_port: 3478
tls_port: 0
relay_range_start: 30000
relay_range_end: 30100
keys:
devkey: devsecret