Closed yangwuan55 closed 5 years ago
At this demo https://github.com/pranaypatel512/CameraXDemo I change the version to 1.0.0.alpha03 has the same error.So I think this is the bug of alpha03. But the CameraXBasic demo still can't run at alpha01.
USB cameras are not supported by CameraX at this time ☹️
@owahltinez But the alpha01 can work well.I think this bug is not at usb,because the camera app is work.
My theory is that there must be a bug in alpha01 that prevents filtering out external cameras. I think the team would love to learn what you are trying to do with more details, can you please send a message to g.co/camerax/developers explaining how you are trying to use external cameras with CameraX? You can also just reply to this thread which discusses support of USB cameras: https://groups.google.com/a/android.com/forum/#!topic/camerax-developers/9cLEOpfvux8
I did not use the android thing,it's just a normal android system on arm. The system camera app is work well,so the camera is a normal standard for the android system. I will use the camera2 api,because the report bug process is too complicated. Any how,thanks.
USB cameras are supported by the Android framework starting in Android P, that applies to all flavours of Android including phones, things or even TV. However, USB cameras are not supported by the CameraX library. If you find the bug report process complicated, feel free to chime into the discussion at g.co/camerax/developers, we would appreciate your input!
I also encountered this case on nokia 6.0 and sum sung j7 prime
same issue in YOGA Tab 3 8”. Is there any fix available?
Can anyone tell if the USB cameras are already supported by CameraX, using the latest version?
I think the problem is not the USB Camera,but there is the wrong place to commit issues for CameraX.
Can anyone tell if the USB cameras are already supported by CameraX, using the latest version?
@owahltinez I am also facing the same issue in our company panel running with Android8 . However the same is working in our another device with another android image running android7 . So , can the issue be with android AOSP code rather than android version .
I use the latest version camerax, emm USB cameras are not supported still . 2023-05-22
I use a usb camera at arm,the camera app is work well,but the CameraXBasic can't run.
This is the crash log.
If I don't set the
lensFacing
I use this demo it work well,so what config is wrong? https://github.com/pranaypatel512/CameraXDemo