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

Set CameraInfo.HorizontalViewAngle on iOS/Mac #121

Closed
wants to merge 2 commits into from

Conversation

janusw
Copy link

@janusw janusw commented Dec 12, 2023

... using this property:

https://developer.apple.com/documentation/avfoundation/avcapturedeviceformat/1624569-videofieldofview

From the documentation:

Indicates the format’s horizontal field of view in degrees.

So we have to convert it from degrees to radians.

Fixes issue #120 (at least partially).

@janusw
Copy link
Author

janusw commented Jan 6, 2024

FYI: I merged this and several other open PRs into my fork at https://github.com/janusw/Camera.Maui and published a new release that includes these fixes on nuget.org: https://www.nuget.org/packages/CameraMaui/1.4.5

@hjam40
Copy link
Owner

hjam40 commented Feb 29, 2024

Added. thank you!

@hjam40 hjam40 closed this Feb 29, 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.

None yet

2 participants