

-
I'm the author of react-native-vision-camera, a library that exposes platform native Camera features to React Native.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
CameraView
📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size. (by natario1)
..and a few wrappers around Camera2, such as CameraView and camerakit-android (this one even uses C++ for rendering the Preview, that's interesting for me since I want to draw on the Surface using Skia C++!).
-
camerakit-android
Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.
..and a few wrappers around Camera2, such as CameraView and camerakit-android (this one even uses C++ for rendering the Preview, that's interesting for me since I want to draw on the Surface using Skia C++!).
-
For the device formats, what you get on CameraX should be what you get on Camera2, but you can verify with the Camera2Video sample app. It lists the available resolutions and framerates (which notably calculates it in largely the same way that you're already doing).