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

Cant select proper camera. #2634

Closed
thecodewarrior2 opened this issue Mar 18, 2022 · 8 comments · Fixed by #3762
Closed

Cant select proper camera. #2634

thecodewarrior2 opened this issue Mar 18, 2022 · 8 comments · Fixed by #3762
Assignees
Labels
bug Something isn't working

Comments

@thecodewarrior2
Copy link

No description provided.

@Simon-Laux
Copy link
Member

could you elaborate?

@Simon-Laux
Copy link
Member

do you mean you have multiple cameras and want to select which one to use for the qr code scan?

@Simon-Laux Simon-Laux added the bug Something isn't working label Apr 6, 2022
@thecodewarrior2
Copy link
Author

thecodewarrior2 commented Apr 6, 2022 via email

@thecodewarrior2
Copy link
Author

thecodewarrior2 commented Oct 11, 2022 via email

@Simon-Laux Simon-Laux added this to the QR Scanner Refactor milestone Jan 10, 2023
@r10s
Copy link
Member

r10s commented Apr 16, 2023

as this is part of "QR Scanner Refactor" - is there something planned/possible that goes beyond MediaTrackConstraints - because this is also exposed to https://github.com/JodusNodus/react-qr-reader/#component-api and just using this might remove pressure from a refactoring requirement

@r10s
Copy link
Member

r10s commented Apr 16, 2023

ftr: i also ran into that issue with the continuous camera of macos/iphone, however, at the end it turns out, it was more my fault as the iphone was used for "facingMode: user" - and switching this is part of the system, not even sure if an app has access to that

@farooqkz
Copy link
Collaborator

farooqkz commented Jul 26, 2023

I want to add a button to switch to the next Camera. This button is disabled if there is just one or no camera. Another alternative would be a dropdownlist.

If there are only 2 cameras, the former is better, if there are more, a dropdownlist is better. I believe that most desktop PCs have got at most 2 cameras.

Additionally, DC must detect the should used camera of the user for QR scanning purpose.

@farooqkz farooqkz self-assigned this Jul 26, 2023
@Simon-Laux
Copy link
Member

I also already stated this on a local branch

@Simon-Laux Simon-Laux self-assigned this Jul 26, 2023
@farooqkz farooqkz removed their assignment Jul 27, 2023
@adzialocha adzialocha mentioned this issue Apr 12, 2024
10 tasks
@adzialocha adzialocha linked a pull request Apr 16, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants