diff options
author | metamuffin <metamuffin@disroot.org> | 2022-09-11 14:16:49 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-09-11 14:16:49 +0200 |
commit | 97bedee40f0f5d7f8d949b8ac437eaeae41db949 (patch) | |
tree | d3dbb8aee6b72040f5c8679d849d913e765911ec /client-web/source | |
parent | ed13a5e0e3ee1885c17f24d9f47a79915db3daea (diff) | |
download | keks-meet-97bedee40f0f5d7f8d949b8ac437eaeae41db949.tar keks-meet-97bedee40f0f5d7f8d949b8ac437eaeae41db949.tar.bz2 keks-meet-97bedee40f0f5d7f8d949b8ac437eaeae41db949.tar.zst |
add my own STUN
Diffstat (limited to 'client-web/source')
-rw-r--r-- | client-web/source/index.ts | 7 |
1 files changed, 4 insertions, 3 deletions
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, } |