Hello,
For CameraCharacteristics.CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES
camera returns:
CONTROL_VIDEO_STABILIZATION_MODE_OFF and CONTROL_VIDEO_STABILIZATION_MODE_ON
and for CameraCharacteristics.LENS_INFO_AVAILABLE_OPTICAL_STABILIZATION
camera returns:
LENS_OPTICAL_STABILIZATION_MODE_OFF and LENS_OPTICAL_STABILIZATION_MODE_ON
how can I setup stabilization for preview and video recording?
I tried it to setup via Camera2CameraControl + captureRequestOptions setCaptureRequestOption(CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE, CaptureRequest.CONTROL_VIDEO_STABILIZATION_MODE_ON)
or
setCaptureRequestOption(CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE, CaptureRequest.LENS_OPTICAL_STABILIZATION_MODE_ON)
after cameraProvider.bindToLifecycle(...) but I don't see any changes.
Device Pixel 2, Android 11
Thank you.