dji-mobile-sdk-tutorials / ios-fpvdemo Goto Github PK
View Code? Open in Web Editor NEWA demo to introduce how to implement the FPV view, take photo and record video using DJI Mobile SDK.
License: MIT License
A demo to introduce how to implement the FPV view, take photo and record video using DJI Mobile SDK.
License: MIT License
this is important because the data types are different in Swift 3 and it can be tricky to translate from the sample that's on the website in objective
The tutorial on your website is missing a critical step regarding the video streaming. The user is never instructed anywhere in the tutorial to start the video preview instance ([[VideoPreviewer instance] start];
) like it should in the sdkManagerDidRegisterAppWithError
method. I'd do a PR but I dont think your tutorials are on
Hello,
I've build the demo and no stream available when I run with my A3 flight controller (the app is registered successfully). There is no issue running with my Phantom.
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...
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...
Hi,
I'm trying to run DJI SDK on my own app and it appears there's an edge case bug that I'm curious if you guys might be able to help me. It involves the DJI Mavic 2 not showing video feed in my app after swapping to DJI Go App.
Here are the steps to reproduce:
I try DJIVideoPreviewer.instance()?.reset() but that did not work either. Curious if you guys can instruct me to the right place to change, that'd be greatly appreciated!
Using the RC1B with the Mavic Pro, the DJIVideoPreviewer doesn't show the feed. If I use RC1A, it works fine.
wish DJI-Mobile-SDK can add cocoapods version
Hi,
I'm trying to run this demo to connect to my dji osmo mobile. I would like to be able to control the gimbal.
Running the demo on an iPhone 6s with latest iOS 10 version.
I'm not sure if this is the issue or not but I'm seeing Couldn't find the "com.apple.private.externalaccessory.showallaccessories" entitlement
in logs.
I've tried to enable in configuration "Wireless accessory configuration" and "Data protection" but the issue still persists.
Hi,
I am trying develop camera feature with Swift, cocoapods and using the import VideoPreviewer but I'm having the error below:
-/Users/guilherme/Documents/xcodeprojects/skydronesCapture/VideoPreviewer/VideoPreviewer/VideoPreviewer.m:13:9: 'DJISDK/DJISDK.h' file not found
But the parent project is works fine the import DJISDK.
Thanks.
I am trying to enable hardware decoding for the H264 video frames, sent from a drone.
Unfortunately this does not seem to work.
I added the line "[[VideoPreviewer instance] setEnableHardwareDecode:YES];" before "[[VideoPreviewer instance] start];", in the file "DJICameraViewController.m" . But this will only show the following log message:
"FPVDemo[579:506030] can not find idr path func".
The application then falls back to the software decoder.
I also posted a topic on the DJI forum, a while ago:
http://forum.dev.dji.com/forum.php?mod=viewthread&tid=32401
Steps to reproduce the bug or crash issues
Set enableHardwareDecode to "YES". Start app and wait until preview is shown.
DJI iOS SDK version you are using (Like iOS SDK 3.4, etc)
DJI iOS SDK 4.2.2
DJI Product you are using (Like Phantom 4, Mavic Pro, etc)
DJI Spark and DJI Osmo
iOS system version you are using (Like iOS 8.3, iOS 9, etc)
iOS 10.3.2
iOS device type you are using (Like iPhone5s, iPhone 6, iPad Air Wifi, iPad mini 3 LTE, etc)
iPhone 7/6
Xcode version you are using (Like Xcode 7.0)
Version 8.3.3 (8E3004b)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.