📝Update documentation desktopCapturer to javascript[ci skip]
This commit is contained in:
parent
37bcc96e95
commit
f4d3c169b0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ To capture both audio and video from the entire desktop the constraints passed
|
||||||
to [`navigator.mediaDevices.getUserMedia`] must include `chromeMediaSource: 'desktop'`,
|
to [`navigator.mediaDevices.getUserMedia`] must include `chromeMediaSource: 'desktop'`,
|
||||||
for both `audio` and `video`, but should not include a `chromeMediaSourceId` constraint.
|
for both `audio` and `video`, but should not include a `chromeMediaSourceId` constraint.
|
||||||
|
|
||||||
```
|
```javascript
|
||||||
const constraints = {
|
const constraints = {
|
||||||
audio: {
|
audio: {
|
||||||
mandatory: {
|
mandatory: {
|
||||||
|
|
Loading…
Reference in a new issue