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).