Firefly Open Source Community

Title: 4 USB Cameras on Android [Print This Page]

Author: hjpark    Time: 12/29/2016 14:22
Title: 4 USB Cameras on Android
Hi Firefly

I put 4 USB cameras on RK3288 board and run Android 5.1.1 and tried to open the cameras one by one. ( not at the same time).
I successfully open the 3 Cameras(ID:0,1,2) but can't open the fourth camera(ID:3) with Android Camera1 and 2 APIs.
and I checked /dev/video on the shell and found 4 videos(video0, video1, video2, video3).
so, i thnk that  there is no problem on the H/W but it seems to be an issue on the Camera  API.
If you have ever run 4 USB cameras on Android, please help me run 4 USB Cameras..

thanks a lot..

Best Regards,
HJ Park

Author: isle    Time: 12/30/2016 10:32
hi ,
we haven't tested like that ,what is  the error log ?
Author: jykwun    Time: 1/6/2017 09:44
In camerahal_module.h, you will find the key to the questions.(aosp/hardware/rockchip/camera/camerahal)

#define CAMERAS_SUPPORT_MAX             3

Have a nice day!





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1