Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

I want to access the hidden camera ID. Is there any way to do this?

50 views
Skip to first unread message
Assigned to tonyt...@google.com by scot...@google.com

Smith Liouville

unread,
Apr 30, 2025, 3:39:35 AMApr 30
to Android CameraX Discussion Group
I have done some preliminary research and it seems that it might be possible by customizing the CameraFactory. However, I am not sure how to provide the second and third parameters when constructing the CameraFactory

tonyt...@google.com

unread,
May 7, 2025, 3:30:30 AMMay 7
to Android CameraX Discussion Group, liouv...@gmail.com
Hi, Thanks for the question. To be clear, what kind of hidden camera are you trying to access?

Normally, if a camera id is not listed in CameraManager.getCameraIdList, the camera can't be accessed. One exception is that if the physical camera is contained in a logical camera, Camera2Interop.Extender.setPhysicalCameraId may be used to get the output from it.

Reply all
Reply to author
Forward
0 new messages