Browse Source

:memo:Update documentation desktopCapturer to javascript[ci skip]

Daniel Pereira 8 years ago
parent
commit
f4d3c169b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/desktop-capturer.md

+ 1 - 1
docs/api/desktop-capturer.md

@@ -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'`,
 for both `audio` and `video`, but should not include a `chromeMediaSourceId` constraint.
 
-```
+```javascript
 const constraints = {
   audio: {
     mandatory: {