|
@@ -82,7 +82,9 @@ The `desktopCapturer` module has the following methods:
|
|
|
* `types` String[] - An array of Strings that lists the types of desktop sources
|
|
|
to be captured, available types are `screen` and `window`.
|
|
|
* `thumbnailSize` [Size](structures/size.md) (optional) - The size that the media source thumbnail
|
|
|
- should be scaled to. Default is `150` x `150`.
|
|
|
+ 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.
|
|
|
* `fetchWindowIcons` Boolean (optional) - 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.
|
|
@@ -107,7 +109,9 @@ captured.
|
|
|
* `types` String[] - An array of Strings that lists the types of desktop sources
|
|
|
to be captured, available types are `screen` and `window`.
|
|
|
* `thumbnailSize` [Size](structures/size.md) (optional) - The size that the media source thumbnail
|
|
|
- should be scaled to. Default is `150` x `150`.
|
|
|
+ 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.
|
|
|
* `fetchWindowIcons` Boolean (optional) - 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.
|