Browse Source

No longer include Google STUN as default in client. This allows setups without a STUN server.

pull/190/head
Simon Eisenmann 10 years ago
parent
commit
e2dcbef0d5
  1. 5
      static/js/controllers/mediastreamcontroller.js

5
static/js/controllers/mediastreamcontroller.js

@ -97,12 +97,9 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder @@ -97,12 +97,9 @@ define(['jquery', 'underscore', 'angular', 'bigscreen', 'moment', 'sjcl', 'moder
var displayName = safeDisplayName;
// Init STUN.
// Init STUN from server config.
(function() {
var stun = mediaStream.config.StunURIs || [];
if (!stun.length) {
stun.push("stun:stun.l.google.com:19302");
}
constraints.stun(stun);
})();

Loading…
Cancel
Save