We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 858d9de commit d3412acCopy full SHA for d3412ac
identity/demos/self_capture_detection/index.html
@@ -179,7 +179,7 @@ <h3>Demo operation:</h3>
179
180
let stream;
181
try {
182
- stream = await navigator.mediaDevices.getDisplayMedia();
+ stream = await navigator.mediaDevices.getDisplayMedia({selfBrowserSurface: "include"});
183
} catch (error) {
184
update();
185
return;
0 commit comments