You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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)
The text was updated successfully, but these errors were encountered: