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

Some Android device unable to capture the image clearly

Open renkaiheng opened this issue 2 years ago • 2 comments

The problem is on multiple rear camera devices like the Huawei P30 Pro or Samsung S10, it seem like will auto using telephoto lens instead of using the default stock rear camera. This can cause the live video and image is not focusing at all

renkaiheng avatar Mar 18 '22 08:03 renkaiheng

same issue, especially on samsung devices

taka204 avatar Nov 23 '22 06:11 taka204

Hi, you can use mediaDevices.enumerateDevices to get a different deviceId and use another camera instead. See Show all cameras by deviceId for reference.

mboonchai avatar Dec 19 '23 04:12 mboonchai