Adds config property for enabling firefox support

pull/205/head 273
hristoterezov 10 years ago
parent e2058edfdd
commit edb89a65d5
  1. 4
      app.js
  2. 4
      config.js
  3. 2
      libs/colibri/colibri.focus.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) {

@ -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.
};

@ -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' : '') +

Loading…
Cancel
Save