Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Makes it possible to configure the sources of desktop video stream.
paweldomas801f6fa039e1
diff --git a/config.js b/config.jsindex d77e0ab717..1a89fcff54 100644--- a/config.js+++ b/config.js@@ -13,6 +13,7 @@ var config = {bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for thatdesktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.chromeExtensionId: 'diibjkoicjeejcmhdnailmkgecihlobk', // Id of desktop streamer Chrome extension+ desktopSharingSources: ['screen', 'window'],minChromeExtVersion: '0.1', // Required version of Chrome extensionenableRtpStats: true, // Enables RTP stats processingopenSctp: true, // Toggle to enable/disable SCTP channelsdiff --git a/desktopsharing.js b/desktopsharing.jsindex 2e5e418957..5c47945780 100644--- a/desktopsharing.js+++ b/desktopsharing.js@@ -125,7 +125,7 @@ function doGetStreamFromExtension(streamCallback, failCallback) {// Sends 'getStream' msg to the extension. Extension id must be defined in the config.chrome.runtime.sendMessage(config.chromeExtensionId,- { getStream: true},+ { getStream: true, sources: config.desktopSharingSources },function (response) {if (!response) {failCallback(chrome.runtime.lastError);