This pertains to video capture mode only. In order to set CONTROL_AE_TARGET_FPS_RANGE using CamEx2, I apparently need to convert my 2-integer array (7,15) into an android.util.range object. I can put integers and booleans directly into the builder from CamEx2, but I get a cast error with all attempts to make a range key and set the camera with it. All examples I could find involve some java code, which is hard for me to follow. Basically, I want to extend CamEx2 to have something like this:
<Code
Public Sub setAE_FPS_Range (FPS_Range As JavaObject) 'javaobject here would an integer android.util.range type, which I don't know how to make
SetBothMaps("CONTROL_AE_TARGET_FPS_RANGE", FPS_Range)
End Sub
/Code>
As an aside, the PreviewCaptureRequest log reports this camera's fps range as [30, 30] which results in a fixed output fps of 30, regardless of the fps setting in MediaRecorder. It may be that this particular camera (motoG7 Power, front, Android 9) cannot go below 30fps, but I need to try a lower range setting to find out. At 30fps, this camera is permanently underexposed in video mode..
Thanks
<Code
Public Sub setAE_FPS_Range (FPS_Range As JavaObject) 'javaobject here would an integer android.util.range type, which I don't know how to make
SetBothMaps("CONTROL_AE_TARGET_FPS_RANGE", FPS_Range)
End Sub
/Code>
As an aside, the PreviewCaptureRequest log reports this camera's fps range as [30, 30] which results in a fixed output fps of 30, regardless of the fps setting in MediaRecorder. It may be that this particular camera (motoG7 Power, front, Android 9) cannot go below 30fps, but I need to try a lower range setting to find out. At 30fps, this camera is permanently underexposed in video mode..
Thanks