Powerful camera installation detection

Since navigator.getUserMedia

I can request a camera stream. If the camera is not installed, errorCallback is called. But if there is a camera, the user will be prompted for a security prompt.

Is it possible to silently detect if a camera is installed so that I can create different UIs for that detection without bothering the user with a getUserMedia request?

+3
javascript html5 video-capture getusermedia


source to share


No one has answered this question yet

Check out similar questions:

7432
How to check if a string contains a substring in JavaScript?
2709
Detecting object property undefined
2329
How do I detect a click outside of an element?
1547
What's the best way to detect a mobile device?
1333
Detecting an "invalid date" date instance in JavaScript
1167
Determine if an array contains a value
13
getUserMedia - how to determine if a device actually has a camera
nine
An alternative to getUserMedia () for reading live camera stream on iOS?
3
Difference between window.AudioContext and navigator.getUserMedia
0
getUserMedia creates a stream for the wrong camera using the exact: deviceId



All Articles
Loading...
X
Show
Funny
Dev
Pics