ElectronSourcesOptions
Unofficial
Options for desktopCapturer.getSources.
Import:
import type { ElectronSourcesOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronSourcesOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| fetchWindowIcons? | boolean | Set to true to enable fetching window icons. When false the appIcon property of the sources returns null, as it does if a source has the type screen. | |
| thumbnailSize? | ElectronSize | The size that the media source thumbnail should be scaled to. Set width or height to 0 when thumbnails are not needed, to save the processing time required for capturing the content of each window and screen. | |
| types | string[] | An array of strings listing the types of desktop sources to be captured. Available types are screen and window. |