Use source id directly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Vendored
+6
-1
@@ -49,7 +49,6 @@ import PerformanceMonitor from "../performance";
|
||||
import UIStore from "../stores/UIStore";
|
||||
import { SetupEncryptionStore } from "../stores/SetupEncryptionStore";
|
||||
import { RoomScrollStateStore } from "../stores/RoomScrollStateStore";
|
||||
import { DesktopCapturerSource } from "matrix-js-sdk/src/webrtc/call";
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
@@ -97,6 +96,12 @@ declare global {
|
||||
electron?: Electron;
|
||||
}
|
||||
|
||||
interface DesktopCapturerSource {
|
||||
id: string;
|
||||
name: string;
|
||||
thumbnailURL: string;
|
||||
}
|
||||
|
||||
interface GetSourcesOptions {
|
||||
types: Array<string>;
|
||||
thumbnailSize?: {
|
||||
|
||||
Reference in New Issue
Block a user