steep-balloon-41261
07/31/2025, 7:55 AMtall-airline-16756
07/31/2025, 7:55 AMtall-airline-16756
07/31/2025, 7:56 AMconnectOpts.rtcConfig = { iceTransportPolicy: 'relay' };
2. Configure Firewall Whitelisting: Whitelist *.turn.livekit.cloud on TCP/443 to ensure TURN connectivity works properly.
3. Run Connection Tests: Use the LiveKit Connection Tester to identify issues with UDP or DTLS stages. If problems occur, force TURN in the client and ensure proper firewall settings.
4. Understand Transport Priorities: WebRTC prioritizes transport options in this order: ICE/UDP, ICE/TCP, TURN/UDP, TURN/TLS. Explicitly configure fallback mechanisms if needed.
These steps should help address the media timeout error. If the issue persists, further investigation into your network configuration may be required.
Sources: protobufs/livekit_models.proto | Firewall Tips | pkg/sip/media_port.go