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

Ability to retrieve camera id of { facingMode: 'environment' } #708

Open
Caitlin-Finn opened this issue Mar 3, 2023 · 1 comment
Open

Comments

@Caitlin-Finn
Copy link

Is your feature request related to a problem? Please describe.
When using .start({ facingMode: 'environment' }, config...)
After the camera is started, can we retrieve the camera id of whichever camera was chosen?

Describe the solution you'd like
A way to access the current camera id

Additional context
When building a custom UI, the camera defaults to { facingMode: 'environment' } but the user is allowed to change the camera after that. I want my selector to indicate the current camera that is being used.

@mebjas
Copy link
Owner

mebjas commented Mar 3, 2023

Technically I am not familiar with a way to do so.

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

No branches or pull requests

2 participants