From 60ddc1fc89c9f354feaaee82c18a965a53bb1369 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Fri, 24 Apr 2020 11:00:14 +0200 Subject: [PATCH] Add additional STUN servers --- src/broadcast/rtc_streamer.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/broadcast/rtc_streamer.ts b/src/broadcast/rtc_streamer.ts index 89404e9..45b1e40 100644 --- a/src/broadcast/rtc_streamer.ts +++ b/src/broadcast/rtc_streamer.ts @@ -31,6 +31,15 @@ export class WebRTCStreamer extends Streamer { console.log("RTCStreamer start"); this.pc = new RTCPeerConnection({ iceServers: [ + { + urls: [ + "stun:stun.l.google.com:19302", + "stun:stun1.l.google.com:19302", + "stun:stun2.l.google.com:19302", + "stun:stun3.l.google.com:19302", + "stun:stun4.l.google.com:19302", + ], + }, { urls: ["stun:eu-turn4.xirsys.com"], },