title: Is it possible to check if the user has a camera and microphone and if the permissions have been granted with Javascript?
body: <p>I would like to find out if the user's device has an attached camera and microphone, and if so, has permissions been granted to get the audio and video stream using Javascript. I want to make this check to be made across Chrome and Firefox at the very least. What's a consistent API for this?</p>