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

Rotation issues for video preview #17

Open
TheGeekPharaoh opened this issue Mar 5, 2019 · 3 comments
Open

Rotation issues for video preview #17

TheGeekPharaoh opened this issue Mar 5, 2019 · 3 comments

Comments

@TheGeekPharaoh
Copy link

I'm noticing the following behaviors when running the demo app. I'm not sure if they are just issues in the demo app itself, or if the issue lies within the core library. (I'm still digging in.) Regardless, here's what I've found on an iPad Pro 9.7 inch, running iOS 12.1.4:

  1. App starts in landscape orientation:
  • Photos preview fine, and are captured as expected
  • Video previews are rotated 90 degrees, are captured rotated 90 degrees
  1. App starts in landscape orientation but is then rotated to portrait orientation
  • Photos and videos preview fine and are captured as expected
  1. App starts in landscape orientation, is rotated to portrait orientation, then rotated BACK to landscape orientation
  • Photos and videos preview fine and are captured as expected
  1. App starts in portrait orientation:
  • Photos and videos preview fine and are captured as expected

So, it appears as though the issue I'm seeing only occurs when starting the app in landscape orientation. If I rotate the device to portrait and then rotate it back to landscape, everything works fine. If I start in portrait orientation everything works fine. I only see the video preview and the subsequent recorded video rotated incorrectly if I start in landscape and stay in landscape.

@austinkettner austinkettner added this to the 1.2.1 milestone Mar 5, 2019
@austinkettner
Copy link
Member

Thanks for the detailed ticket @sdnakhla super helpful! I just added this to our 1.2.1 milestone and we will make sure to get this resolved. If you do more digging and find out more info definitely keep us updated in this ticket!

@rlogical-techsoft
Copy link

rlogical-techsoft commented Jul 21, 2021

Video previews are rotated 90 degrees, are captured rotated 90 degrees

any solution for this video issue?

@rlogical-techsoft
Copy link

solution as we found in video view self.previewView.autorotate = false

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

No branches or pull requests

3 participants