From e2dcbef0d5667d0cf329193dfca544ce854a7ea3 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 9 Apr 2015 14:16:21 +0200 Subject: [PATCH] No longer include Google STUN as default in client. This allows setups without a STUN server. --- static/js/controllers/mediastreamcontroller.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/controllers/mediastreamcontroller.js b/static/js/controllers/mediastreamcontroller.js index 04fbe58d..313ffadf 100644 --- a/static/js/controllers/mediastreamcontroller.js +++ b/static/js/controllers/mediastreamcontroller.js @@ -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); })();