Skip to content

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

fix(config): Add the optional screenshare settings.

Jaya Allamsetty8b559ad4f209
diff --git a/config.js b/config.js
index f5eb6ff7b7..c46c28b18d 100644
--- a/config.js
+++ b/config.js
@@ -294,6 +294,20 @@ var config = {
// max: 5,
// },
+ // Optional screenshare settings that give more control over screen capture in the browser.
+ // screenShareSettings: {
+ // // Show users the current tab is the preferred capture source, default: false.
+ // desktopPreferCurrentTab: false,
+ // // Allow users to select system audio, default: include.
+ // desktopSystemAudio: 'include',
+ // // Allow users to seamlessly switch which tab they are sharing without having to select the tab again.
+ // desktopSurfaceSwitching: 'include',
+ // // Allow a user to be shown a preference for what screen is to be captured, default: unset.
+ // desktopDisplaySurface: undefined,
+ // // Allow users to select the current tab as a capture source, default: exclude.
+ // desktopSelfBrowserSurface: 'exclude'
+ // },
+
// This option has been deprecated since it is no longer supported as per the w3c spec.
// https://w3c.github.io/mediacapture-screen-share/#dom-mediadevices-getdisplaymedia. If the user has not
// interacted with the webpage before the getDisplayMedia call, the promise will be rejected by the browser. This