jhuckaby / webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
MIT License
2.5k stars 1.11k forks source link

Null is not an object is thrown. #298

Open gopiinno opened 5 years ago

gopiinno commented 5 years ago

Hi we have used webcamjs with angularjs 1.7x. It works good in most of the cases except where we try to capture photo using google chrome in ios 12 device we get an error like ‘null is not an object (evaluating this $window.Webcam.mediaDevices.enumerateDevices)’. Do you have any idea why this error would be coming.

positlabs commented 5 years ago

Does chrome on iOS support user media streams? I feel like it doesn't but I haven't looked into it

On Sun, Jun 2, 2019, 15:25 gopiinno notifications@github.com wrote:

Reopened #298 https://github.com/jhuckaby/webcamjs/issues/298.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jhuckaby/webcamjs/issues/298?email_source=notifications&email_token=AAOUO7HQ5ELO53HERA4D22TPYQNAZA5CNFSM4HSDKFRKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORYHQEVI#event-2383348309, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOUO7CZ2EHV7K2JNPWIK6TPYQNAZANCNFSM4HSDKFRA .

positlabs commented 5 years ago

https://bugs.chromium.org/p/chromium/issues/detail?id=752458