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 this project has been integrated with DJI iOS SDK CocoaPods now, please check the following steps to install DJISDK.framework using CocoaPods after you downloading this project:
1. Install CocoaPods
Open Terminal and change to the download project's directory, enter the following command to install it:
sudo gem install cocoapods
The process may take a long time, please wait. For further installation instructions, please check this guides.
2. Install SDK with CocoaPods in the Project
Run the following command in the ObjcSampleCode and SwiftSampleCode folders' directory:
pod install
If you install it successfully, you may get the messages similar to the followings:
Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (3.5)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `DJISdkDemo.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod
installed.
Developers can run the sample application immediately to 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.
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
- [email protected]