Why HDR mode isn't supported via iOS SDK on Mavic 2 Pro?
691 6 2020-8-14
Uploading and Loding Picture ...(0/1)
o(^-^)o
Leandro31
lvl.3
Flight distance : 455892 ft
Uruguay
Offline

  Each time I try to set the camera flat mode into HDR or EHDR "DJIFlatCameraMode.photoHDR" on iOS I get the error: "Current product does not support this feature.(code:-1013)". But seems like it can be done via the UXSDK sample. Why?


2020-8-14
Use props
DJI_Lisa
lvl.4
Hong Kong
Offline

It looks like you are trying to set HDR using DJIFlatCameraMode, which isn't supported on the M2P.  Use ShootPhotoMode instead: https://developer.dji.com/api-re ... ootphotomode_inline
2020-8-14
Use props
Leandro31
lvl.3
Flight distance : 455892 ft
Uruguay
Offline

DJI_Lisa Posted at 8-14 12:36
It looks like you are trying to set HDR using DJIFlatCameraMode, which isn't supported on the M2P.  Use ShootPhotoMode instead: https://developer.dji.com/api-reference/android-api/Components/Camera/DJICamera_DJICameraSettingsDef.html#djicamera_djicamerashootphotomode_inline

Tanks Lisa for your awnser!

This seems to be one of thoses cases of multiple api that doing the same thing.
2020-8-14
Use props
Leandro31
lvl.3
Flight distance : 455892 ft
Uruguay
Offline

Leandro31 Posted at 8-14 12:49
Tanks Lisa for your awnser!

This seems to be one of thoses cases of multiple api that doing the same thing.

Ah.. No Lisa, after trying again I have seen that I wasn't using the FlatMode... I'm trying with:
DJISDKManager.product()?.camera?.setShootPhotoMode(DJICameraShootPhotoMode.HDR, withCompletion: {(error) in....

And getting the same error:
"Current product does not support this feature.(code:-1013)"
2020-8-14
Use props
DJI_Lisa
lvl.4
Hong Kong
Offline

What language are you writing in?
2020-8-14
Use props
Leandro31
lvl.3
Flight distance : 455892 ft
Uruguay
Offline

DJI_Lisa Posted at 8-14 14:59
What language are you writing in?

Is in Swift
2020-8-14
Use props
Leandro31
lvl.3
Flight distance : 455892 ft
Uruguay
Offline


Ok I have seen now what is the problem, HDR isn't supported by Mavic 2 so we need to use EHDR instead through the ShootPhotoMode.
2020-8-20
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules