ChatGPT says in 99% of cases cam id 0 is the main camera and 1 is the selfie camera, but when I try my phones, it is swapped..
Maybe you can add an action that lets you set the desired camera without the user having to manually choose between numbers. It should be possible with CameraCharacteristics.LENS_FACING_BACK / FRONT







