mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-11 11:03:23 +00:00
Remove Google STUN servers, use only metered.ca ICE servers
This commit is contained in:
@@ -6,14 +6,9 @@ const API_URL = 'https://api.ronde.vu';
|
|||||||
|
|
||||||
const RTC_CONFIG = {
|
const RTC_CONFIG = {
|
||||||
iceServers: [
|
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",
|
urls: "stun:stun.relay.metered.ca:80",
|
||||||
},
|
},
|
||||||
// Metered.ca TURN servers (for restrictive NATs)
|
|
||||||
{
|
{
|
||||||
urls: "turn:standard.relay.metered.ca:80",
|
urls: "turn:standard.relay.metered.ca:80",
|
||||||
username: "e03a51621b4f11ffbed3addd",
|
username: "e03a51621b4f11ffbed3addd",
|
||||||
|
|||||||
Reference in New Issue
Block a user