getDisplayMedia

Display the video stream from getDisplayMedia() in a video element.

The MediaStream object stream passed to the getDisplayMedia() callback is in global scope, so you can inspect it from the console.