AckerApple / ack-angular-webcam

MIT License
37 stars 19 forks source link

camera not working when app is hosted at different system #18

Closed psharneja closed 7 years ago

psharneja commented 7 years ago

Hi,

I've my Angular app running at one system and access that app from other system and getting below error on that:

DOMException: Only secure origins are allowed

TypeError: Failed to execute 'getUserMedia' on 'MediaDevices': parameter 1 ('constraints') is not an object.

Error: Both configs failed. Neither object nor string works

AckerApple commented 7 years ago

Yeah it’s well documented. Webcams only work on localhost and https