Multiple cameras on Android

392 views Asked by At

Why do some Android devices expose all physical cameras in navigator.mediaDevices.enumerateDevices(), while other expose just one? The devices where I tested run on Android 10 or 11.

According to this documentation, devices running on Android 9 or higher will support exposing all cameras.

I also tried using the Camera 2 API, but without any luck. All I get is two cameras, one front and one back. But my device has 3 back cameras.

Do you know why I cannot access all cameras with Android 11? Or how to enable exposing all of them?

Thanks, Alin

0

There are 0 answers