Browse Source

Disable renegotiation for FF clients.

pull/206/head
Simon Eisenmann 10 years ago
parent
commit
d92f358884
  1. 7
      static/js/services/mediastream.js

7
static/js/services/mediastream.js

@ -26,7 +26,8 @@ define([ @@ -26,7 +26,8 @@ define([
'ua-parser',
'sjcl',
'modernizr',
'mediastream/tokens'
'mediastream/tokens',
'webrtc.adapter'
], function($, _, uaparser, sjcl, Modernizr, tokens) {
@ -45,6 +46,10 @@ define([ @@ -45,6 +46,10 @@ define([
// Apply configuration details.
webrtc.settings.renegotiation = context.Cfg.Renegotiation && true;
if (webrtc.settings.renegotiation && $window.webrtcDetectedBrowser === "firefox") {
console.warn("Disable renegotiation in Firefox for now.");
webrtc.settings.renegotiation = false;
}
// mediaStream service API.
var mediaStream = {

Loading…
Cancel
Save