WebRTC samples Demo of getDisplayMedia and screen recording

Screen capturing is currently an experimental feature which is only supported by latest Chrome and Firefox!

To enable this feature in Chrome, toggle the Experimental Web Platform feature (See chrome://flags/#enable-experimental-web-platform-features).

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

View source on GitHub