react-webcam icon indicating copy to clipboard operation
react-webcam copied to clipboard

No video is displayed when using high-resolution on certain Android devices

Open jackharding opened this issue 1 year ago • 4 comments

We have noticed an issue on certain Android devices where the video does not display when using high-resolution video. Although the video doesn't display, capturing a screenshot still works.

For example, see this video of an Honor 10 Lite running this demo. The phone does have an environment-facing camera capable of 4160x3120 (confirmed with videoTrack.getCapabilities().width.max) and you can see that an image is successfully taken.

Weirdly, we have had reports of this happening on a Pixel 7 also, despite not being able to reproduce this issue with that particular device.

jackharding avatar Sep 04 '24 12:09 jackharding

Same here, blank screen after accepting permissions. Front facing camera works though

djvistasa avatar Sep 06 '24 14:09 djvistasa

May be related, but developing an app. taking high res images. Worked fine before, but just picked up development after a few weeks and now running into an issue where my previous high res 4096x2160 is severely smaller. The quality is just gone.

jackmead515 avatar Sep 10 '24 01:09 jackmead515

Don't know how I missed it but seems like somehow something changed? The forceScreenshotSourceSize setting fixed it for me.

jackmead515 avatar Sep 10 '24 02:09 jackmead515

@jackmead515 Hello brother, did you find any alternative solution for that? I also faced the same issues from my side. works fine in windows but not working on mobile devices

Soum-ik avatar Sep 22 '24 05:09 Soum-ik