Selaa lähdekoodia

changes RTCPeerConnection iceServers url property to urls

see https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/url
Andre Eckardt 8 vuotta sitten
vanhempi
commit
2b1a32479d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/util.js

+ 1 - 1
lib/util.js

@@ -1,4 +1,4 @@
-var defaultConfig = { iceServers: [{ url: "stun:stun.l.google.com:19302" }] };
+var defaultConfig = {'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }]};
 var dataCount = 1;
 
 var BinaryPack = require("js-binarypack");