Peter-St / Android-UVC-Camera

GNU Lesser General Public License v2.1
136 stars 25 forks source link

Preview not displaying for external camera #19

Closed habi-kvana closed 3 years ago

habi-kvana commented 3 years ago

Preview is not displaying for external camera product-id: 102, vendor-id" 4057

Screenshot 2021-03-23 at 5 40 28 PM
Peter-St commented 3 years ago

Hello,

you have to find out, if the camera is an uvc device: On a Linux System run this command:

lsusb -v -d xxxx:xxxx The first 4 x are the product and the second 4 x are the vendor id. If you can run this command successfully, you can attach the output.

Thanks, Peter

habi-kvana commented 3 years ago

thanks for responding @Peter-St I resolved this issue after opening the camera we should get SupportedSize and then pass one of those resolutions then it will display preview.