For Capacitor v5, use v2.x. For Capacitor v4, use v1.x. If you are developing a plugin, you can use reflection to get the camera frames as Bitmap or UIImage on the native side.