From 7cc4cce1a34cd0f7ebaf90b7de221688dc23cc54 Mon Sep 17 00:00:00 2001 From: carlin978 <120719190+carlin978@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:56:40 +0100 Subject: [PATCH] Update STUN servers (#1381) Commented out sipgate.net STUN server. Added Cloudflare STUN server. --- lib/webrtc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/webrtc.js b/lib/webrtc.js index 60fe0e490..77882a516 100644 --- a/lib/webrtc.js +++ b/lib/webrtc.js @@ -21,7 +21,8 @@ opt.RTCIceCandidate = rtcic; opt.rtc = opt.rtc || {'iceServers': [ {urls: 'stun:stun.l.google.com:19302'}, - {urls: "stun:stun.sipgate.net:3478"}/*, + {urls: 'stun:stun.cloudflare.com:3478'}/*, + {urls: "stun:stun.sipgate.net:3478"}, {urls: "stun:stun.stunprotocol.org"}, {urls: "stun:stun.sipgate.net:10000"}, {urls: "stun:217.10.68.152:10000"}, @@ -130,4 +131,4 @@ return peer; } }); -}()); \ No newline at end of file +}());