I need to record video and take picture in Portrait mode but I want to rotate 90 degrees.
I see that in CameraRecorder() I can set the degrees. I tried setting to 90 degrees it does show but it is not in aspect ratio.
Do I need to set the preview size as well? say: I set the preview to 1920x1080 If have set 90 degrees do I need to flip the size?
I need to record video and take picture in Portrait mode but I want to rotate 90 degrees.
I see that in CameraRecorder() I can set the degrees. I tried setting to 90 degrees it does show but it is not in aspect ratio.
Do I need to set the preview size as well? say: I set the preview to 1920x1080 If have set 90 degrees do I need to flip the size?