-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Livekit does not use configured TURN server #3971
Description
Hello, we need some guidance on how to activate TURN server and TCP/TLS communication:
I installed Livekit in our AWS EKS Kubernetes cluster and followed the configuration in the helm templates. The application is configured to be Internet-facing including loadbalancer and the K8S resources seem to be configured properly.
When trying to connect via Livekit Meet I can see that the signalling connection on port 7880 is working and the TURN server data are visible in the first websocket response.
BUT: In the following WebRTC handshake Livekit only sends ICE candidates using the internal host IP addresses on port 7880, which can not be reached from the client. The TURN server is not addressed. How can we direct Livekit to use the TURN server including TLS? Any config values missing or wrongly set?
This is the resulting config map extract:
port: 7880
rtc:
port_range_end: 60000
port_range_start: 50000
tcp_port: 7881
use_external_ip: false
turn:
domain: turn.myhost.com
enabled: true
external_tls: false #no effect when setting to true
loadBalancerAnnotations:...
secretName: livekit-turn-tls-secret
tls_port: 5349
The data are also in the log during startup:
Starting TURN server {"turn.relay_range_start": 30000, "turn.relay_range_end": 40000, "turn.portTLS": 5349, "turn.externalTLS": false}
INFO livekit service/server.go:265 starting LiveKit server {"portHttp": 7880, "nodeID": "ND_TnWZiwvBkho7", "nodeIP": "10.202.41.230", "version": "1.9.0", "rtc.portTCP": 7881, "rtc.portICERange": [50000, 60000]})
Thanks in adavance for your support!
Regards,
Thomas