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 rotation in SampleBuffer Renderer #438

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

patryk-sredzinski
Copy link
Contributor

Fixes #437

@CLAassistant
Copy link

CLAassistant commented Jul 19, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@hiroshihorie hiroshihorie left a comment

Choose a reason for hiding this comment

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

Thanks !, I was planning to fix this my self.
One concern is that I think we need to check all frames for rotation not only the first one, for example if iPhone rotates the camera the rotation will change mid-stream. But I can fix this myself.
Thanks for the PR ! 🙂

@patryk-sredzinski
Copy link
Contributor Author

@hiroshihorie Unfortunately I can see that occasionaly I still see the camera being flipped. I've got no clue why this sometimes happen.

I would not really like to check it every single frame, I'd better think of finding a solution and cases when this might change, but need to investigate it a bit more.

I'd like to continue my work on this

@hiroshihorie
Copy link
Member

hiroshihorie commented Jul 22, 2024

Thanks, i can try to fix it when i have time.

@hiroshihorie hiroshihorie merged commit de16a17 into livekit:main Jul 23, 2024
10 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.

Camera rotated when using renderMode = .sampleBuffer
3 participants