Add additional STUN servers
This commit is contained in:
parent
5a05406df2
commit
60ddc1fc89
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,15 @@ export class WebRTCStreamer extends Streamer {
|
||||||
console.log("RTCStreamer start");
|
console.log("RTCStreamer start");
|
||||||
this.pc = new RTCPeerConnection({
|
this.pc = new RTCPeerConnection({
|
||||||
iceServers: [
|
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"],
|
urls: ["stun:eu-turn4.xirsys.com"],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue