Preload media devices to avoid later delay
Co-authored-by: ayumi yu <ayumi@signal.org>
This commit is contained in:
parent
6d216a3eca
commit
59a4f237fd
5 changed files with 43 additions and 0 deletions
3
ts/window.d.ts
vendored
3
ts/window.d.ts
vendored
|
@ -66,6 +66,9 @@ export type IPCType = {
|
|||
};
|
||||
drawAttention: () => void;
|
||||
getAutoLaunch: () => Promise<boolean>;
|
||||
getMediaAccessStatus: (
|
||||
mediaType: 'screen' | 'microphone' | 'camera'
|
||||
) => Promise<string | undefined>;
|
||||
getMediaCameraPermissions: () => Promise<boolean>;
|
||||
getMediaPermissions: () => Promise<boolean>;
|
||||
logAppLoadedEvent?: (options: { processedCount?: number }) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue