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

Image capture should use standard UserMedia API #1761

Open
jonathanaustin opened this issue Aug 25, 2020 · 0 comments
Open

Image capture should use standard UserMedia API #1761

jonathanaustin opened this issue Aug 25, 2020 · 0 comments

Comments

@jonathanaustin
Copy link
Member

jonathanaustin commented Aug 25, 2020

Image capture currently uses a getUserMedia js library to handle the image capture APIs for different browsers. This library was very handy when the UserMedia API was still being worked out and was not standard across browsers.

However, browsers have now all come inline with supporting the standard UserMedia API but the getUserMedia js library does not support the new API. This means image capture does not work reliably in all browsers and does not work at all in Safari.

To fix this, we should look at removing the getUserMedia js library and just use the standard UserMedia API directly or add the UserMedia API support to the library.

At the same time, we should also make sure the image capture button only appears on desktops as it is not required on mobiles or tablets as image capture is provided by their file upload.

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

1 participant