quiet-zebra-13463
09/22/2025, 1:09 PMtall-airline-16756
09/22/2025, 1:09 PMtall-airline-16756
09/22/2025, 1:11 PMiceTransportPolicy: 'relay' in the client setup. This way, media flows through TURN servers, which often work better with firewalls and NLBs by using TURN/TLS (TCP on port 443).
• Take a look at the client logs for any missing UDP or TCP candidates, as this can hint at server or firewall misconfigurations.
• Also, validating your STUN/TURN setup with tools like the WebRTC Trickle ICE sample (<WEBRTC_TRICKLE_ICE_URL>) can be really useful to ensure candidates are gathered properly and connectivity is solid.
If you’re still running into issues, don’t hesitate to share whether UDP traffic might be blocked or if there are specific errors showing up in your client logs. That info will really help us get to the bottom of this together.
Sources: Diagnosing Connection Errors with Connection Test Utility | Connecting to LiveKit | LiveKit Docs | Firewall Tips | CHANGELOG.md | src/connectionHelper/checks/webrtc.tsquiet-zebra-13463
09/22/2025, 2:40 PMtall-airline-16756
09/22/2025, 2:40 PMiceTransportPolicy: 'relay' in your client configuration. If this fixes the problem, it’s a good indication that UDP is indeed blocked.
• Double-check that UDP ports, like 50000–60000, are open in your firewall and NLB settings to keep things flowing smoothly.
• Use handy tools such as the WebRTC Trickle ICE sample (<WEBRTC_TRICKLE_ICE_URL>) to test STUN/TURN connectivity and see if UDP candidates are being gathered properly.
If you’d like, I’m here to walk you through any of these steps or answer any questions you have. Just let me know!
Sources: Connecting to LiveKit | LiveKit Docs | Firewall Tips | src/connectionHelper/checks/connectionProtocol.ts | Diagnosing Connection Errors with Connection Test Utility | Ports and firewall | LiveKit Docsquiet-zebra-13463
09/22/2025, 2:42 PMtall-airline-16756
09/22/2025, 2:43 PMiceTransportPolicy: 'relay' in the client configuration. This helps by routing media through TURN servers and avoiding UDP-related issues.
• It’s a good idea to check your firewall and NLB setup to make sure UDP ports (like 50000–60000) are open and correctly routed.
• Keep an eye on the ICE and connection states in your client logs. Look out for missing ICE candidates or connection states changing to 'failed' or 'disconnected', as these can give helpful clues.
• Also, try whitelisting *.turn.livekit.cloud on port 443 to allow TURN/TLS traffic, which often improves compatibility on networks with stricter rules.
If you’re still running into issues after trying these steps, please feel free to share any specific errors or logs from your connection test. I’m here to help you dig deeper and get this sorted out!
Sources: Diagnosing Connection Errors with Connection Test Utility | Firewall Tips | solutions/doorbell_local/main/webrtc_test.html | Connecting to LiveKit | LiveKit Docs | src/room/RTCEngine.ts