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(conference): Remove the window hook for the legacy Electron picker.

Jaya Allamsettydc4b9aa039c3
diff --git a/conference.js b/conference.js
index ae6e928bd2..4f15c46671 100644
--- a/conference.js
+++ b/conference.js
@@ -139,7 +139,6 @@ import { getLocalJitsiAudioTrackSettings } from './react/features/base/tracks/fu
import { downloadJSON } from './react/features/base/util/downloadJSON';
import { getJitsiMeetGlobalNSConnectionTimes } from './react/features/base/util/helpers';
import { openLeaveReasonDialog } from './react/features/conference/actions.web';
-import { showDesktopPicker } from './react/features/desktop-picker/actions';
import { appendSuffix } from './react/features/display-name/functions';
import { maybeOpenFeedbackDialog, submitFeedback } from './react/features/feedback/actions';
import { maybeSetLobbyChatMessageListener } from './react/features/lobby/actions.any';
@@ -170,18 +169,6 @@ import { muteLocal } from './react/features/video-menu/actions.any';
const logger = Logger.getLogger('app:conference-web');
let room;
-/*
- * Logic to open a desktop picker put on the window global for
- * lib-jitsi-meet to detect and invoke.
- *
- * TODO: remove once the Electron SDK supporting gDM has been out for a while.
- */
-window.JitsiMeetScreenObtainer = {
- openDesktopPicker(options, onSourceChoose) {
- APP.store.dispatch(showDesktopPicker(options, onSourceChoose));
- }
-};
-
/**
* Known custom conference commands.
*/