MediaDevices.getUserMedia page is not complete

Looking on https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

That stream can include, for example, a video track (produced by either a hardware or virtual video source such as a camera, video recording device, screen sharing service, and so forth), an audio track (similarly, produced by a physical or virtual audio source like a microphone, A/D converter, or the like), and possibly other track types.

Actually the page contain only references/examples about how to do use the camera. Actually that api support also the window and screen sharing but is not mentioned.
I found that page https://mozilla.github.io/webrtc-landing/gum_test.html that show that in Firefox there is that support (it is very simple to try it) but example about change the media source on MDN are missing but this demo is complete of everything.

I was trying to understand why demo have that support but there are no examples on MDN maybe someone forgotten to update it?

Yeah, this page is both incomplete and a little out of date. The main reason is that because the specification spent so much time in flux, we were hesitant to fully invest in documenting it until things stabilized further.

On top of that, there’s a time issue. There’s a lot to write about across the entire spectrum of Web-related technologies, so we sometimes have to start by doing a quick pass, then go back and add details later as time permits. That was the case here.

I hope to get back to it before too long, but as always, we encourage contributions of additions and improvements!

Eric Shepherd
Senior Technical Writer
MDN Web Docs: https://developer.mozilla.org/
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy