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

fix(ios): ensure orientation is correct on iOS #3719

Conversation

freeboub
Copy link
Collaborator

Summary

ensure orientation is well reported on ios

Motivation

Fix: #3705

Changes

Fix computation of orientation.
I removed videoTrack.preferredTransform as it is deprecated and it doesn't make sens in that part of code.

Test plan

Sample video added in the sample

Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Do we have this behaviour ("square") on android?

edit: I have checked - we have

@KrzysztofMoch KrzysztofMoch changed the title Fix/ensure orientation is correct on ios fix(ios): ensure orientation is correct on iOS Apr 26, 2024
@KrzysztofMoch KrzysztofMoch merged commit 1a8295c into TheWidlarzGroup:master Apr 26, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

[BUG]: Getting Wrong Orientation In onLoad- naturalSize
2 participants