The DJI Mobile SDK enables you to automate your DJI Product. You can control flight, and many subsystems of the product including the camera and gimbal. Using the Mobile SDK, create a customized mobile app to unlock the full potential of your DJI aerial platform.
Since the "DJISDK.framework" supports Bitcode now, the file size is 146.1MB, which exceeds GitHub's file size limit of 100 MB for pushing and pulling. So you must use Git Large File Storage for downloading the SDK framework file.
Please check the following steps to download the entire Sample Code with SDK framework:
1. You need to install Git Large File Storage by running the following commands in Terminal:
brew install git-lfs
git lfs install
Note: Please check Git LFS Website for more details.
2. Be sure to restart your Terminal after installing Git LFS.
3. Use git clone
command to clone the sample code project rather than downloading the ZIP file directly:
git clone git@github.com:dji-sdk/Mobile-SDK-iOS.git
4. If you have already cloned the sample code project before, please run the following commands in the project's path to download the DJISDK.framework file:
git reset HEAD --hard
Developers can run the sample application to immediately run code and see how the DJI Mobile SDK can be used.
One of DJI's aircraft or handheld cameras will be required to run the sample application.
From registering as a developer, to deploying an application, the following will take you through the full Mobile SDK Application development process:
- Prerequisites
- Register as DJI Developer & Download SDK
- Integrate SDK into Application
- Run Application
- Testing, Profiling & Debugging
- Deploy
Several iOS tutorials are provided as examples on how to use different features of the Mobile SDK and debug tools includes:
- Camera Application
- Photo and Video Playback Application
- MapView And Waypoint Application
- Panorama Appliation
- TapFly and ActiveTrack Appliation
- Simulator Application
- GEO System Application
- Using the Bridge App
- Using the Remote Logger
Please visit DJI Mobile SDK Documentation for more details.
DJI iOS SDK supports CocoaPods now. Please check this link for details: https://cocoapods.org/pods/DJI-SDK-iOS.
We have forked the original FFmpeg and added customized features to provide more video frame information including the frame's width and height, frame rate number, etc. These features will help to implement video hardware decoding.
The SDK Sample Code uses code of FFmpeg licensed under the LGPLv2.1 and its source code can be downloaded from this Github Page.
Please check the VideoPreviewer source code for details.
You can get support from DJI with the following methods:
- DJI Forum
- Post questions in Stackoverflow using dji-sdk tag
- dev@dji.com