🔥 ;
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'
|
chromeMediaSource: 'desktop'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
@ -75,7 +75,7 @@ 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` [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`.
|
should be scaled to. Default is `150` x `150`.
|
||||||
* `callback` Function
|
* `callback` Function
|
||||||
* `error` Error
|
* `error` Error
|
||||||
|
|
Loading…
Reference in a new issue