From 8b2c8b5bdfe1e6830d61e53d149a0df289613bc5 Mon Sep 17 00:00:00 2001 From: carlin978 <120719190+carlin978@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:10:28 +0100 Subject: [PATCH] Update STUN servers 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 +}());