fix: enable built-in TURN server for NAT traversal
Subscriber transport was timing out on DTLS handshake for clients behind complex NAT (VPN/symmetric NAT). Enable LiveKit's built-in TURN server on UDP port 3478. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
75b14d5200
commit
2f0cb13ecb
|
|
@ -320,6 +320,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "17880:7880"
|
- "17880:7880"
|
||||||
- "17881:7881"
|
- "17881:7881"
|
||||||
|
- "3478:3478/udp"
|
||||||
- "50000-50200:50000-50200/udp"
|
- "50000-50200:50000-50200/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./livekit.yaml:/etc/livekit.yaml:ro
|
- ./livekit.yaml:/etc/livekit.yaml:ro
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,11 @@ rtc:
|
||||||
tcp_port: 7881
|
tcp_port: 7881
|
||||||
use_external_ip: true
|
use_external_ip: true
|
||||||
|
|
||||||
|
turn:
|
||||||
|
enabled: true
|
||||||
|
udp_port: 3478
|
||||||
|
tls_port: 0
|
||||||
|
|
||||||
keys:
|
keys:
|
||||||
devkey: devsecret
|
devkey: devsecret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue