Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds config property for enabling firefox support

hristoterezovedb89a65d5a4
diff --git a/app.js b/app.js
index 69b38abea2..a6df827084 100644
--- a/app.js
+++ b/app.js
@@ -68,6 +68,10 @@ function init() {
if (RTC === null) {
window.location.href = 'webrtcrequired.html';
return;
+ } else if (RTC.browser !== 'chrome' &&
+ config.enableFirefoxSupport !== true) {
+ window.location.href = 'chromeonly.html';
+ return;
}
obtainAudioAndVideoPermissions(function (stream) {
diff --git a/config.js b/config.js
index c8a6fbeb66..47f3891c50 100644
--- a/config.js
+++ b/config.js
@@ -26,5 +26,7 @@ var config = {
useBundle: true,
enableRecording: false,
enableWelcomePage: true,
- enableSimulcast: false
+ enableSimulcast: false,
+ enableFirefoxSupport: false //firefox support is still experimental, only one-to-one conferences with chrome focus
+ // will work when simulcast, bundle, mux, lastN and SCTP are disabled.
};
diff --git a/libs/colibri/colibri.focus.js b/libs/colibri/colibri.focus.js
index f56f424940..310fe3a670 100644
--- a/libs/colibri/colibri.focus.js
+++ b/libs/colibri/colibri.focus.js
@@ -454,7 +454,7 @@ ColibriFocus.prototype.createdConference = function (result) {
'a=rtcp-fb:100 ccm fir\r\n' +
'a=rtcp-fb:100 nack\r\n' +
'a=rtcp-fb:100 nack pli\r\n' +
-// 'a=rtcp-fb:100 goog-remb\r\n' +
+ (config.enableFirefoxSupport? "" : 'a=rtcp-fb:100 goog-remb\r\n') +
'a=rtpmap:116 red/90000\r\n' +
'a=rtpmap:117 ulpfec/90000\r\n' +
(config.useRtcpMux ? 'a=rtcp-mux\r\n' : '') +