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

[Flutter][Android] [iOS] Wide camera is not supported in Zoom feature #1617

Open
khanhandpad opened this issue Mar 11, 2024 · 2 comments
Open

Comments

@khanhandpad
Copy link

khanhandpad commented Mar 11, 2024

Is your feature request related to a problem? Please describe.

I'm using Agora Video SDK for Flutter to implement video call

I want to use the function setCameraZoomFactor from the SDK but the docs have mentioned like this:

[factor] The camera zoom ratio. The value ranges between 1.0 and the maximum zoom supported by the device. You can get the maximum zoom ratio supported by the device by calling the getCameraMaxZoomFactor method.

on my devices (iPhone 15 and Samsung s23), the user can use the default camera with a zoom factor < 1 (0.5 -> 0.9)

I have tried when passing the param 0.5 to that function (setCameraZoomFactor) but it doesn't work

so my question is: is there any way to help users zoom in on the camera with a factor < 1.0 (to use the wide camera)?

Describe the solution you'd like
The minimum factor should depend on the camera's device, in my case, it should be 0.5 (currently it's 1.0)

Describe alternatives you've considered
N/A

Additional context
flutter version: 3.16.0
agora_flutter version: 6.3.0

@littleGnAl
Copy link
Collaborator

As I know, it's not supported on the native sdk side at this time.

@littleGnAl littleGnAl added the waiting for customer response waiting for customer response, or closed by no-reponse bot label Mar 13, 2024
@littleGnAl
Copy link
Collaborator

littleGnAl commented Mar 14, 2024

After consulting with the native sdk team, there's a new feature of the wide-angle camera that will be landed in the next release.

@littleGnAl littleGnAl added keep track and removed waiting for customer response waiting for customer response, or closed by no-reponse bot labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants