From 217b84701fc74844076282fe45e65709811d4124 Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Sat, 15 Nov 2025 14:37:30 +0100 Subject: [PATCH] Remove STUN server, increase ICE candidate pool --- src/App.jsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index e0f47c8..0b498c0 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,10 +6,7 @@ const API_URL = 'https://api.ronde.vu'; const RTC_CONFIG = { iceServers: [ - { - urls: "stun:stun.relay.metered.ca:80", - }, - // TCP transport only - VPN blocks UDP relay + // TCP transport to TURN server - VPN blocks UDP connections to TURN { urls: "turn:standard.relay.metered.ca:80?transport=tcp", username: "c53a9c971da5e6f3bc959d8d", @@ -22,7 +19,8 @@ const RTC_CONFIG = { }, ], // Force relay to avoid direct connection attempts through VPN - iceTransportPolicy: 'relay' + iceTransportPolicy: 'relay', + iceCandidatePoolSize: 10 }; export default function App() {