From 7e7cf9bfaa9ca9df0505039fa7b28cece7456727 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 27 Apr 2015 11:47:29 +0200 Subject: [PATCH] Added warning if FF version is too old and renegotiation is enabled. --- static/js/controllers/uicontroller.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/js/controllers/uicontroller.js b/static/js/controllers/uicontroller.js index 2113d56e..e1aa5e23 100644 --- a/static/js/controllers/uicontroller.js +++ b/static/js/controllers/uicontroller.js @@ -717,6 +717,13 @@ define(['jquery', 'underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'web alertify.dialog.alert(translation._("Your browser does not support WebRTC. No calls possible.")); return; } + if (mediaStream.config.Renegotiation && $window.webrtcDetectedBrowser === "firefox" && $window.webrtcDetectedVersion < 38) { + // FF38 has renegotiation support. + // See https://bugzilla.mozilla.org/show_bug.cgi?id=1017888 + // and https://bugzilla.mozilla.org/show_bug.cgi?id=840728 + alertify.dialog.alert(translation._("Your Firefox version is too old. Please update to Firefox 38 or later.")); + return; + } }); }];