Remove Google STUN servers, use only metered.ca ICE servers

This commit is contained in:
2025-11-14 21:01:28 +01:00
parent 678f692b64
commit 257d8f264a

View File

@@ -6,14 +6,9 @@ const API_URL = 'https://api.ronde.vu';
const RTC_CONFIG = {
iceServers: [
// Google STUN - reliable and always works
{ urls: 'stun:stun.l.google.com:19302' },
{ urls: 'stun:stun1.l.google.com:19302' },
// Metered.ca STUN
{
urls: "stun:stun.relay.metered.ca:80",
},
// Metered.ca TURN servers (for restrictive NATs)
{
urls: "turn:standard.relay.metered.ca:80",
username: "e03a51621b4f11ffbed3addd",