how to handle "Requested device not found" exception?
See original GitHub issueI’m trying to check whether camera available or not on component OnInit, if no device found have to show the warning message.
`ngOnInit() {
} displayCameras(cameras: object[]) { this.availableDevices = cameras; if (cameras && cameras.length > 0) { this.selectedDevice = cameras[0]; this.cameraStarted = true; } else { alert('Please Enable Camera / Camera not found '); } }`
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
DOMException: Requested device not found GetUserMedia
Try without "audio: true". Its help for my. (Microphone are not work). And check webcam on other sites.
Read more >getUserMedia--DOMException: Requested device not found
My computer has no microphone,so I got an error from 'err'(DOMException: Requested device not found). how can I handle this error if I...
Read more >Requested device not found - Unable to access Camera ...
I am using the video-quickstart-js project. When I enter a room name and click on Join Room button, I am not able to...
Read more >Omegle Error with camera: Requested device not found
Note: If you don't see it under cameras, look under Imaging devices. Exit device manager then restart. Windows 10 should redetect it then ......
Read more >How to Fix Camera Not Found Error on Omegle
Press Windows key + R to open up a Run dialog box. · Once you get to the Camera tab, scroll down to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Almost done!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.