WebRTC samples getDisplayMedia

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

View source on GitHub