-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
🐛 maxPhotoDimensions must match one of the AVVideoDimension found in the video source device's active format's supportedMaxPhotoDimensions #2649
Comments
I'm not sure about Would be great if you could also help with testing that - I wanna know if there are any differences between setting |
hey @mrousavy, thank you for looking into this! And sure thing, I would love to help! How can I best test it for you? I started off by running the example of v4 branch and the fix/maxresolution branch and noting down the format for both. These don't seem to differ, does that then mean setting Format on v4 Format on fix/maxresolution |
thanks - does the resulting photo have the same resolution? |
Yes! Photofile on fix/maxresolution |
Okay then I think it makes sense to just remove that prop. |
Okay I updated the PR #2659 - it now works like a charm! |
Hey - I think this issue has been fixed in VisionCamera 4.0.0. 🥳 Please try V4 and let me know if you still experience this issue;
|
What's happening?
When the camera prop
enableHighQualityPhotos
is set totrue
, thephoto
prop is set totrue
and a format is passed via theformat
prop, the app will crash on start.Reproduceable Code
Relevant log output
Camera Device
Device
iPhone SE (16.3.1)
VisionCamera Version
4.0.0-beta.5
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: