Skip to content

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

Merged
KrzysztofMoch merged 8 commits intoTheWidlarzGroup:masterfrom
freeboub:fix/ensureOrientationIsCorrectOnIos
Apr 26, 2024
Merged

fix(ios): ensure orientation is correct on iOS#3719
KrzysztofMoch merged 8 commits intoTheWidlarzGroup:masterfrom
freeboub:fix/ensureOrientationIsCorrectOnIos

Conversation

@freeboub
Copy link
Copy Markdown
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

@freeboub freeboub requested a review from KrzysztofMoch April 25, 2024 21:14
Copy link
Copy Markdown
Contributor

@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
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