This commit is contained in:
Kevin Sawicki 2017-05-15 13:38:57 -07:00
parent 0ae5f7e623
commit 4f99cb19bd

View file

@ -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