Skip to content

How to rotate preview 90 degrees in portrait mode? #35

@ToysoftInc

Description

@ToysoftInc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions