getUserMedia: screen capture

This demo only works on Android Chrome with the Experimental ScreenCapture flag enabled from the chrome://flags page.

The constraints and stream variables are in global scope, so you can inspect them from the console.

For more information and demos, see Paul Kinlan's article Screen recording on Android with getUserMedia and WebRTC.

View source on GitHub