From 97bedee40f0f5d7f8d949b8ac437eaeae41db949 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 11 Sep 2022 14:16:49 +0200 Subject: add my own STUN --- client-web/source/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client-web/source/index.ts') diff --git a/client-web/source/index.ts b/client-web/source/index.ts index 432a7b7..159bcce 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -12,9 +12,10 @@ export const VERSION = "0.1.8" export const ROOM_CONTAINER = ediv({ class: "room" }) export const RTC_CONFIG: RTCConfiguration = { - // google stun!? - iceServers: [{ urls: ["stun:stun1.l.google.com:19302", "stun:stun2.l.google.com:19302"] }], - // iceServers: [{ urls: ["stun:meet.metamuffin.org:16900"] }], + iceServers: [ + { urls: ["stun:meet.metamuffin.org:16900"] }, + { urls: ["stun:stun1.l.google.com:19302", "stun:stun2.l.google.com:19302"] } // google stun!? + ], iceCandidatePoolSize: 10, } -- cgit v1.2.3-70-g09d2