🔥 ;
This commit is contained in:
parent
0ae5f7e623
commit
4f99cb19bd
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue