Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get phone/tablet webcam access #2

Open
stephanschulz opened this issue Apr 15, 2020 · 3 comments
Open

how to get phone/tablet webcam access #2

stephanschulz opened this issue Apr 15, 2020 · 3 comments

Comments

@stephanschulz
Copy link

stephanschulz commented Apr 15, 2020

This project is great.
Thanks for sharing it.

I tested it successfully on macOS with a builtin laptop camera. But trying to run it on an iPhone with chrome did not ask for webcam access and in turn did get the video feed.
I assume permission restrictions changed since 2016. Would you know what to add to the js function?

All the best.

@gfwilliams
Copy link
Owner

I'm afraid not... But I just googled ios getusermedia and got: https://stackoverflow.com/questions/45692526/ios-11-getusermedia-not-working

@sp595
Copy link

sp595 commented Sep 8, 2020

I try to use navigator.mediaDevices.getUserMedia on iPhone and the camera work but not the rest.

@thegeekoftheworld
Copy link
Contributor

You may require SSL on the server hosting the HTML file since camera access is typically protected in most browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants