Ver Fonte

changes RTCPeerConnection iceServers url property to urls

see https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/url
Andre Eckardt há 8 anos atrás
pai
commit
2b1a32479d
1 ficheiros alterados com 1 adições e 1 exclusões
  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");