diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index 72b9ee56fb..741798761f 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -66,15 +66,6 @@ declare global { mxModalWidgetStore: ModalWidgetStore; } - export interface DesktopCapturerSource { - id: string; - name: string; - thumbnail; - // This property is not camelcase and isn't used, therefore it is commented - //display_id: string; - appIcon; - } - interface Document { // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess hasStorageAccess?: () => Promise; diff --git a/src/components/views/elements/DesktopCapturerSourcePicker.tsx b/src/components/views/elements/DesktopCapturerSourcePicker.tsx index 70c5fbaa8d..384befbb01 100644 --- a/src/components/views/elements/DesktopCapturerSourcePicker.tsx +++ b/src/components/views/elements/DesktopCapturerSourcePicker.tsx @@ -20,6 +20,12 @@ import BaseDialog from "..//dialogs/BaseDialog" import AccessibleButton from './AccessibleButton'; import {getDesktopCapturerSources} from "matrix-js-sdk/src/webrtc/call"; +export interface DesktopCapturerSource { + id: string; + name: string; + thumbnailURL; +} + export enum Tabs { Screens = "screens", Windows = "windows",