Currently, the camera_android_camerax plugin sets the camera name of the available cameras (retrieved via availableCameras) to a random camera name and ID -- see source. To maintain feature parity with camera_android, we should use the value retrieved from Camera2CameraInfo.getCameraId.
Currently, the
camera_android_cameraxplugin sets the camera name of the available cameras (retrieved viaavailableCameras) to a random camera name and ID -- see source. To maintain feature parity withcamera_android, we should use the value retrieved fromCamera2CameraInfo.getCameraId.