videojs-record icon indicating copy to clipboard operation
videojs-record copied to clipboard

Change video input device when in image mode?

Open MichaelHeydon opened this issue 3 years ago • 8 comments

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.

MichaelHeydon avatar Sep 02 '21 07:09 MichaelHeydon

I faced this error also, who can help me?

luwei6597 avatar Sep 06 '21 17:09 luwei6597

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?

thijstriemstra avatar Sep 12 '21 10:09 thijstriemstra

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 avatar Sep 12 '21 22:09 MichaelHeydon

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

MichaelHeydon avatar Oct 18 '21 22:10 MichaelHeydon

Have added: https://github.com/collab-project/videojs-record/pull/620 for review

MichaelHeydon avatar Nov 02 '21 23:11 MichaelHeydon

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!

erichusted avatar Mar 31 '22 19:03 erichusted

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

MichaelHeydon avatar Apr 03 '22 22:04 MichaelHeydon

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!

erichusted avatar Apr 04 '22 17:04 erichusted