Recording 60fps video with Camera2(on Android version 21) API
<p>I'm trying to record a video at 60(or more)fps rate on Camera2(android.hardware.camera2) APIs.</p>

<p>Finally, I succeeded recording at 120fps using <a href="https://developer.android.com/reference/android/hardware/camera2/CameraConstrainedHighSpeedCaptureSession.html" rel="noreferrer">CameraConstrainedHighSpeedCaptureSession</a>. But it is only targeted at >=120fps use case not for 60fps.</p>

<p>Even I tried to record at 60fps using normal capture session(<a href="https://developer.android.com/reference/android/hardware/camera2/CameraCaptureSession.html" rel="noreferrer">CameraCaptureSession</a>), it only supports &lt;=30fps. I could figure it out through this code below.</p>

<pre><code>Range&lt;Integer&gt;[] fpsRanges = characteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES);
</code></pre>

<p>I don't know how I could record at 60fps with Camera2 APIs.</p>

<p>Any idea would be most welcome.</p>

<p>Thanks.</p>