Add both UDP and TCP transports for TURN server

Updated TURN server configuration to include both UDP and TCP transports for better compatibility and connection reliability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-15 12:27:11 +01:00
parent 79030adb09
commit 9a424b6015

View File

@@ -10,7 +10,10 @@ const RTC_CONFIG = {
urls: ["stun:stun.ronde.vu:3478"] urls: ["stun:stun.ronde.vu:3478"]
}, },
{ {
urls: ["turn:turn.ronde.vu:3478?transport=udp"], urls: [
"turn:turn.ronde.vu:3478?transport=udp",
"turn:turn.ronde.vu:3478?transport=tcp"
],
username: "webrtcuser", username: "webrtcuser",
credential: "supersecretpassword" credential: "supersecretpassword"
} }