Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ToysoftInc opened this issue Jul 22, 2021 · 0 comments
Open

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

ToysoftInc opened this issue Jul 22, 2021 · 0 comments

Comments

@ToysoftInc
Copy link

ToysoftInc commented Jul 22, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant