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

Change video input device when in image mode? #608

Open
MichaelHeydon opened this issue Sep 2, 2021 · 8 comments
Open

Change video input device when in image mode? #608

MichaelHeydon opened this issue Sep 2, 2021 · 8 comments

Comments

@MichaelHeydon
Copy link

Are we able to change the video input device when in image mode? I have it set up and functioning when recording a video. However when in image mode, selecting a different camera just defaults back to the default camera, and there doesn't appear to be any error.

@luwei6597
Copy link

I faced this error also, who can help me?

@thijstriemstra
Copy link
Member

However when in image mode, selecting a different camera just defaults back to the default camera, and there doesn't appear to be any error.

How do you select this different camera? what code are you using?

@MichaelHeydon
Copy link
Author

Hi @thijstriemstra, I've moved the change-video-input example into a Codepen and replaced the options object with the one used in the image-only example. As you can hopefully see when there's multiple video devices, switching between them just re-displays the default camera.

https://codepen.io/MichaelHeyDonny/pen/QWggEyz

@MichaelHeydon
Copy link
Author

Hi @thijstriemstra, any update on this. I note you've removed the needs-update label?

@MichaelHeydon
Copy link
Author

Have added: #620 for review

@erichusted
Copy link

Anyone happen to find a solution for this yet? I'm having the same problem not being able to change camera while using image mode. Thanks!

@MichaelHeydon
Copy link
Author

Hi @erichusted, you can see the details of the PR linked above if you wish to fix manually.

@erichusted
Copy link

Hi @erichusted, you can see the details of the PR linked above if you wish to fix manually.

Thank you! Building the project locally with your changes fixed it!

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