mirror of https://github.com/vector-im/riot-web
Move DesktopCapturerSource
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
eca8ef3b35
commit
28ff4e6955
|
@ -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>;
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue