webcam-directive icon indicating copy to clipboard operation
webcam-directive copied to clipboard

NotAllowedError: Permission denied in APP Android

Open lucasarthuro opened this issue 6 years ago • 4 comments

I am having a permission error denied when accessing the webcam by the android application:

         <webcam channel="vm.channel"
                    on-streaming="vm.onSuccess()"
                    on-error="vm.onError(err)"
                    on-stream="vm.onStream(stream)"></webcam>

lucasarthuro avatar Dec 28 '18 17:12 lucasarthuro

Have you allowed your browser / application to access the webcam?

jonashartmann avatar Jan 19 '19 16:01 jonashartmann

Yes... In brower its Ok. But inside APP this site is open in webview (plugin inapbrower) and not permission to use the camera.

Thank you.

Em sáb, 19 de jan de 2019 2:07 PM, Jonas Hartmann <[email protected] escreveu:

Have you allowed your browser to access the webcam?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jonashartmann/webcam-directive/issues/75#issuecomment-455792619, or mute the thread https://github.com/notifications/unsubscribe-auth/AsFawhfzMd8kqnDLyyElWlPUNoW0GDwLks5vE0KpgaJpZM4ZkDPu .

lucasarthuro avatar Jan 19 '19 17:01 lucasarthuro

Since that is Android native, you might need to implement certain permission requests and maybe even override some permission callbacks. Nothing I can help with, as it isn't a problem with this library.

jonashartmann avatar Jan 19 '19 19:01 jonashartmann

The app must be over HTTPS connection, nothing over HTTP.

ccrstudio avatar Aug 18 '20 23:08 ccrstudio