Add additional STUN servers

This commit is contained in:
Marks Polakovs 2020-04-24 11:00:14 +02:00
parent 5a05406df2
commit 60ddc1fc89

View file

@ -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"],
},