CameraRecorder-android icon indicating copy to clipboard operation
CameraRecorder-android copied to clipboard

How to rotate preview 90 degrees in portrait mode?

Open ToysoftInc opened this issue 4 years ago • 0 comments

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?

ToysoftInc avatar Jul 22 '21 21:07 ToysoftInc