Open andrey-blak opened 5 years ago
I'm not sure but I think it's problem with frame rate. When I search your Camera manual, it's frame rate is up to 33 at 1280 × 720 and library's default is 30.
Did you try change setPreviewSize?
I've tried changing camera.setPreviewSize in MainActivity call to
camera.setPreviewSize(640, 480, 1, 33, UVCCamera.FRAME_FORMAT_MJPEG, 1);
and
camera.setPreviewSize(1280, 720, 1, 33, UVCCamera.FRAME_FORMAT_MJPEG, 1);
It didn't help.
@rgm-22 No, unfortunately I didn't find any solution.
I've used ndk r14b to build the project. The camera preview isn't displayed. I couldn't find anything suspicious in the logs.
Project: usbCameraTest0 Device manufacturer: mid Device model: T7N Android: 6.0 Camera: SVEN IC-950 HD
Please find the logs attached: logs.txt