fix docs for thumbnailSize

This commit is contained in:
Zeke Sikelianos 2017-03-24 11:14:43 -07:00
parent 46aed5ff6f
commit 095df457b2

View file

@ -60,8 +60,9 @@ The `desktopCapturer` module has the following methods:
* `options` Object * `options` Object
* `types` String[] - An array of Strings that lists the types of desktop sources * `types` String[] - An array of Strings that lists the types of desktop sources
to be captured, available types are `screen` and `window`. to be captured, available types are `screen` and `window`.
* `thumbnailSize` Object (optional) - The suggested size that the media source * `thumbnailSize` Object (optional) - The size that the media source thumbnail should be scaled to.
thumbnail should be scaled to, defaults to `{width: 150, height: 150}`. * `width` Integer - Default is `150`
* `height` Integer - Default is `150`
* `callback` Function * `callback` Function
* `error` Error * `error` Error
* `sources` [DesktopCapturerSource[]](structures/desktop-capturer-source.md) * `sources` [DesktopCapturerSource[]](structures/desktop-capturer-source.md)