Skip to content

Correctly update the video orientation after the permission prompt appeared#166

Open
ralfebert wants to merge 1 commit into
twostraws:mainfrom
ralfebert:main
Open

Correctly update the video orientation after the permission prompt appeared#166
ralfebert wants to merge 1 commit into
twostraws:mainfrom
ralfebert:main

Conversation

@ralfebert

Copy link
Copy Markdown
Contributor
  • When the permission prompt appears, updateOrientation was called before the AV connection was established and the orientation was not updated afterwards when the connection is available
  • Update previewLayer.connection instead of captureSession?.connections.last
  • Remove implicit forced unwrap for previewLayer property
…peared

- When the permission prompt appears, updateOrientation was called before the AV connection was established and not updated afterwards
- Update previewLayer.connection instead of captureSession?.connections.last
- Remove implicit forced unwrap for previewLayer property
@rswave

rswave commented Oct 10, 2025

Copy link
Copy Markdown

@ralfebert what does the user see before this change?

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

Labels

None yet

2 participants