sidajili / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DJI Mobile SDK for iOS

What Is This?

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.

Get Started Immediately

Download Sample Code

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

Run Sample Code

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.

Development Workflow

From registering as a developer, to deploying an application, the following will take you through the full Mobile SDK Application development process:

Sample Projects & Tutorials

Several iOS tutorials are provided as examples on how to use different features of the Mobile SDK and debug tools includes:

Learn More about DJI Products and the Mobile SDK

Please visit DJI Mobile SDK Documentation for more details.

SDK API Reference

iOS SDK API Documentation

CocoaPods Support

DJI iOS SDK supports CocoaPods now. Please check this link for details: https://cocoapods.org/pods/DJI-SDK-iOS.

FFmpeg Customization

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.

Video Hardware Decoder Open Source

Please check the VideoPreviewer source code for details.

Support

You can get support from DJI with the following methods:

About

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/

License:Other


Languages

Language:HTML 98.3%Language:Objective-C 0.8%Language:C 0.6%Language:Swift 0.2%Language:CSS 0.0%Language:C++ 0.0%Language:JavaScript 0.0%Language:Shell 0.0%Language:Ruby 0.0%