I wanted to know if anyone has had success concurrently capturing images or videos on an Android device from 2 rear cameras, using this API: https://source.android.com/docs/core/camera/concurrent-streaming . The phone I had available to test (S21) supported the API, but the only pairs of cameras supported were front+rear facing combos. In kotlin, the code to get the supported pairs is:
val cameraManager = applicationContext.getSystemService(Context.CAMERA_SERVICE) as CameraManager
val concurrentCameras = cameraManager.concurrentCameraIds
Hoping someone has a newer Samsung, Xiaomi, or Huawei phone to test if the API is supported? Thanks a lot!
from Android Device that supports concurrent capture from two rear facing cameras
No comments:
Post a Comment