SourcesOptions

external interface SourcesOptions(source)

Properties

Link copied to clipboard
abstract var fetchWindowIcons: Boolean?

Set to true to enable fetching window icons. The default value is false. When false the appIcon property of the sources return null. Same if a source has the type screen.

Link copied to clipboard
abstract var thumbnailSize: Size?

The size that the media source thumbnail should be scaled to. Default is 150 x 150. Set width or height to 0 when you do not need the thumbnails. This will save the processing time required for capturing the content of each window and screen.

Link copied to clipboard

An array of strings that lists the types of desktop sources to be captured, available types can be screen and window.