mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
🔥 ;
This commit is contained in:
@@ -63,7 +63,7 @@ const constraints = {
|
||||
chromeMediaSource: 'desktop'
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Methods
|
||||
@@ -75,7 +75,7 @@ The `desktopCapturer` module has the following methods:
|
||||
* `options` Object
|
||||
* `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
|
||||
* `thumbnailSize` [Size](structures/size.md) (optional) - The size that the media source thumbnail
|
||||
should be scaled to. Default is `150` x `150`.
|
||||
* `callback` Function
|
||||
* `error` Error
|
||||
|
||||
Reference in New Issue
Block a user