Browse Source

Fixed compatibility issue, iceServers needs to be an array.

pull/176/head
Simon Eisenmann 11 years ago
parent
commit
c9a92116b4
  1. 4
      static/js/libs/webrtc.adapter.js

4
static/js/libs/webrtc.adapter.js

@ -165,11 +165,11 @@ if (navigator.mozGetUserMedia) {
// Creates an ICEServer object from multiple URLs. // Creates an ICEServer object from multiple URLs.
window.createIceServers = function(urls, username, password) { window.createIceServers = function(urls, username, password) {
return { return [{
'urls': urls, 'urls': urls,
'credential': password, 'credential': password,
'username': username 'username': username
}; }];
}; };
// The RTCPeerConnection object. // The RTCPeerConnection object.

Loading…
Cancel
Save