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

How to use ultrawide camera zoom (0.5x,0.6x)? #1666

Open
Roseclear opened this issue Nov 30, 2024 · 2 comments
Open

How to use ultrawide camera zoom (0.5x,0.6x)? #1666

Roseclear opened this issue Nov 30, 2024 · 2 comments

Comments

@Roseclear
Copy link

I'm using rtspcamera2, i'm able to set zoom from 1 -> 5 but when try another zoom like 0.5/0.6 it's just throw an exception.
I'm tried to use switchcamera to check if it can switch to ultrawide camera but no luck

Can some one give a clue/idea/solution?
Thanks!

@pedroSG94
Copy link
Owner

Hello,

You can check the zoom valid values using getZoomRange method.

I'm not sure how to switch to ultrawide camera, but keep in mind that, not all features available in the main camera app are available using camera2 API of Android. Fews manufacturer hide features to developers.

If you can find a code example working to switch to ultrawide camera using camera2, camera1 or cameraX. I can add this feature to the app.

@Roseclear
Copy link
Author

Let me see if I can see one/make one, keep this open please
I'll inform you when I've solutions for this!

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

No branches or pull requests

2 participants