Move DesktopCapturerSource
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
eca8ef3b35
commit
28ff4e6955
2 changed files with 6 additions and 9 deletions
9
src/@types/global.d.ts
vendored
9
src/@types/global.d.ts
vendored
|
@ -66,15 +66,6 @@ declare global {
|
||||||
mxModalWidgetStore: ModalWidgetStore;
|
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 {
|
interface Document {
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess
|
// https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess
|
||||||
hasStorageAccess?: () => Promise<boolean>;
|
hasStorageAccess?: () => Promise<boolean>;
|
||||||
|
|
|
@ -20,6 +20,12 @@ import BaseDialog from "..//dialogs/BaseDialog"
|
||||||
import AccessibleButton from './AccessibleButton';
|
import AccessibleButton from './AccessibleButton';
|
||||||
import {getDesktopCapturerSources} from "matrix-js-sdk/src/webrtc/call";
|
import {getDesktopCapturerSources} from "matrix-js-sdk/src/webrtc/call";
|
||||||
|
|
||||||
|
export interface DesktopCapturerSource {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
thumbnailURL;
|
||||||
|
}
|
||||||
|
|
||||||
export enum Tabs {
|
export enum Tabs {
|
||||||
Screens = "screens",
|
Screens = "screens",
|
||||||
Windows = "windows",
|
Windows = "windows",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue