All this demo does is capture an image and display it. If your hardware has a camera you get the option of using that; otherwise you can select an image from the local filesystem.
It's also possible to capture audio but I haven't gotten that working yet.
See: https://www.w3.org/TR/html-media-capture/.