DJI-Mobile-SDK-Tutorials / iOS-FPVDemo

A demo to introduce how to implement the FPV view, take photo and record video using DJI Mobile SDK.
MIT License
37 stars 24 forks source link

FPVDemo not work with OSMO #5

Closed rhoulay closed 8 years ago

rhoulay commented 8 years ago

Hi, I build the demo work with my Inspire 1 but not work with DJI OSMO.

It's bug or I missing something? There rare info about Mobile SDK with OSMO...

rhoulay commented 8 years ago

Ok, I find the problem, add DJIHandheld class at DJICameraViewController.m:

if ([[DJISDKManager product] isKindOfClass:[DJIAircraft class]]) {
        return ((DJIAircraft*)[DJISDKManager product]).camera;
    }
    else if ([[DJISDKManager product] isKindOfClass:[DJIHandheld class]]) {
        return ((DJIHandheld*)[DJISDKManager product]).camera;
    }
dji-dev commented 8 years ago

Hi, currently the FPVDemo doesn't support OSMO. Will update it to support OSMO soon. Thanks for your advice.

oliverou commented 8 years ago

Hi, the FPVDemo has been updated to iOS SDK 3.2, it supports OSMO now, please check it in Github, thanks!

dji-dev commented 8 years ago

Since this issue is solved, close the issue now.