Browse Source

Do not require firefox screensharing extension to be installed in order to share screen.

pull/238/head
Evan Theurer 11 years ago
parent
commit
e8c2841833
  1. 10
      static/js/services/screensharing.js

10
static/js/services/screensharing.js

@ -175,17 +175,13 @@ define(['underscore', 'text!partials/screensharedialogff.html', 'webrtc.adapter'
// Firefox 36 got screen sharing support. // Firefox 36 got screen sharing support.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=923225 // See https://bugzilla.mozilla.org/show_bug.cgi?id=923225
if ($window.webrtcDetectedVersion >= 36 && firefoxExtension.available) { if ($window.webrtcDetectedVersion >= 36) {
this.supported = true;
this.prepare = function(options) { this.prepare = function(options) {
return selectFirefoxScreenToShare(options); return selectFirefoxScreenToShare(options);
}; };
} else { if (!firefoxExtension.autoinstall.force) {
this.supported = true;
if (firefoxExtension.autoinstall.force) {
this.supported = false;
} }
} }
} else { } else {

Loading…
Cancel
Save