Is there any official android library to access external USB camera in android?
I have gone through all the android/camera-samples. The issue is external USB camera can not be detected/listed in the below code.
val cameraIds2 = cameraManager.cameraIdList
cameraIds2.forEach {
println("cameraId = $it")
}
I also checked the other libraries like saki4510t/UVCCamera and jiangdongguo/AndroidUSBCamera. But they do not work or outdated. This S.O. question is also outdated.
Android official document External USB Cameras does not provide proper way to implement it in Kotlin or Java.
I can't find the latest document related this.