Move DesktopCapturerSource

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-01 15:53:53 +01:00
parent eca8ef3b35
commit 28ff4e6955
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 6 additions and 9 deletions

View File

@ -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<boolean>;

View File

@ -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",