AckerApple / ack-angular-webcam

MIT License
37 stars 19 forks source link

MException: Requested device not found #33

Closed rattios closed 6 years ago

rattios commented 6 years ago

MException: Requested device not found Is this error clear but will it be due to other factors?

when mounting it in production and uploading it to a server gives this error: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

rattios commented 6 years ago

[Deprecation] getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details

AckerApple commented 6 years ago

How can I help? It seems your just stating errors that are plain as day.

  1. You must use HTTPS as a browser requirement to use a webcam (or localhost)
  2. Requested device not found must mean you have hard coded or set a specific userMedia that is not available. For instance, a device can have multiple cameras and multiple audio devices, some how your code is trying to use a device that is unavailable. When no specific device is chosen, default, everything should just work fine.

This library is in production use by many people including myself. You’ll figure yourself out

AckerApple commented 6 years ago

Closing due to inactivity. Reopen if needed