dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 255 forks source link

Mavic Air 2 video playback support? #494

Open alzin opened 2 years ago

alzin commented 2 years ago

In the documentation, it's written how to turn on the video playback function but not for the Mavic Air 2! What I got to know until now is that it seems that video playback is supported for Mavic Air 2 but I need to know how to preview a video within the SD Card without downloading it!

Here is how I checked that the video playback mode is supported! In the documentation, it states that playback is supported if DJIFlatCameraMode returns a True, and with Mavic Air 2 I got that True. Screen Shot 2021-09-07 at 12 35 08 PM

https://developer.dji.com/api-reference/ios-api/Components/Camera/DJICamera_DJICameraSystemState.html#djicamera_djicamerasystemstate_isplayingback_inline

Shall I use DJIPlaybackManager to turn on playback or different class and functions?

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #52857:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

dji-dev commented 2 years ago

Agent comment from sean.zhou in Zendesk ticket #52857:

Dear Client, Thank you for contacting DJI.

Yes, the Mavic Air 2 supports video playback. This feature already exists in Demo. Link: www.github.com/dji-sdk/Mobile-SDK-iOS/tree/master/Sample%20Code/ObjcSampleCode/DJISdkDemo/Demo/Camera/MediaVideoPlayback/CameraMediaPlaybackViewController.m You should use this:

If you have any questions, please feel free to continue contacting us.

Hopefully our solution can help you.

Kindly Regards, DJI Developer Support
inline-1557103294.png

°°°