We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8992463 commit 88c32b7Copy full SHA for 88c32b7
files/en-us/web/api/screen_capture_api/using_screen_capture/index.html
@@ -48,8 +48,6 @@ <h2 id="Capturing_screen_contents">Capturing screen contents</h2>
48
<figcaption><strong><em>Starting screen capture: <code>Promise</code> style</em></strong>
49
50
<pre class="brush: js">function startCapture(displayMediaOptions) {
51
- let captureStream = null;
52
-
53
return navigator.mediaDevices.getDisplayMedia(displayMediaOptions)
54
.catch(err => { console.error("Error:" + err); return null; });
55
}</pre>
0 commit comments