dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
994 stars 581 forks source link

Mini 2 claims to support hybrid zoom but does not #1206

Closed petered closed 1 year ago

petered commented 1 year ago

Ok 4.16.4, with Mini2, product.camera.isHybridZoomSupported==true

You can even get the hybrid zoom spec with product.camera.getHybridZoomSpec.

But when you try to set the zoom with

product.camera.setHybridZoomFocalLength(it.maxHybridFocalLength){log("Set hybrid zoom - error?: $it")}

You get an error.

Digital zoom works fine.

It would be better if product.camera.isHybridZoomSupported returned false. Right now I just use

isHybridZoom by lazy{product.camera.isHybridZoomSupported && product.model.name != "DJI_MINI_2"}
DJI-William commented 1 year ago

Just keep using the digital zoom for Mini 2, leave the hybrid zoom.