nice-shoe-83241
08/20/2025, 3:37 PMtall-airline-16756
08/20/2025, 3:37 PMtall-airline-16756
08/20/2025, 3:39 PMnice-shoe-83241
08/20/2025, 3:56 PMtall-airline-16756
08/20/2025, 3:57 PM*.turn.livekit.cloud
.
• Force TURN Usage: If you think network restrictions might be the culprit, try forcing TURN by setting connectOpts.rtcConfig = { iceTransportPolicy: 'relay' };
.
• Monitor GStreamer Logs: Take a look at your GStreamer pipeline logs for any errors or warnings that might give us clues.
• Test with a Separate Project: To keep things safe, try creating a separate LiveKit project just for testing—this way your main setup stays unaffected.
If you’re still stuck after these steps, it could be something like a firewall or VPN blocking the connection. Double-check your firewall settings, try temporarily turning off any VPNs, or reach out to your IT team for help.
Sources: Diagnosing Connection Errors with Connection Test Utility | Connecting to LiveKit | LiveKit Docs | Firewall Tips | Universal Egress | pkg/pipeline/watch.gonice-shoe-83241
08/20/2025, 4:03 PMtall-airline-16756
08/20/2025, 4:04 PM*.turn.livekit.cloud
is on your firewall's allowlist, especially for TCP/443. This helps keep things running smoothly.
• Force TURN Usage: If you think network restrictions might be causing trouble, try forcing your connection to use TURN by setting connectOpts.rtcConfig = { iceTransportPolicy: 'relay' };
.
• Keep an Eye on ICE Connection States: It’s super helpful to track changes in ICE connection states and candidate errors. Logging events like iceconnectionstatechange
and icecandidateerror
can give you a clearer picture of what’s going on.
• Run Connection Tests: The LiveKit Connection Tester is a handy tool for pinpointing connectivity issues. You can check it out here: https://livekit.io/connection-test.
• Try Different Transport Methods: LiveKit smartly falls back to TCP or TURN/TLS if UDP isn’t playing nice. Just double-check that these fallback options are working as they should.
If you’re still stuck after trying these, no worries! Just share a bit more about your network setup—things like firewall rules or VPN details—and we’ll dig in together to find the best fix.
Sources: CHANGELOG.md | Firewall Tips | Connecting to LiveKit | LiveKit Docs | pkg/rtc/transport.go