Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

M300RTK: DUXFPVViewControllerDelegate.didUpdateCurrentFPVViewCurrentCameraIndexTo is called once per second when primary source is fpv camera

Open YaroTs opened this issue 4 years ago • 1 comments

Drone: M300RTK, left camera = Zenmuse P1 Mobile SDK: 4.14

I have a DUXFPVViewControllerDelegate which listens to fpv view camera index update using this method:

func fpvViewController(_ fpvViewController: DUXFPVViewController, didUpdateCurrentFPVViewCurrentCameraIndexTo updatedFPVViewCurrentCameraIndex: UInt)

When I change primary and secondary video sources using DJIOcuSyncLink:

open func assignSource(toPrimaryChannel primaryVideoSource: DJIVideoFeedPhysicalSource, secondaryChannel secondaryVideoSource: DJIVideoFeedPhysicalSource, withCompletion completion: DJICompletionBlock? = nil)

func didUpdateCurrentFPVViewCurrentCameraIndexTo is called appropriately once per second with NSNotFound index of fpv camera.

YaroTs avatar May 31 '21 08:05 YaroTs

Agent comment from Luce Luo in Zendesk ticket #48427:

Dear Customer,

Thank you for contacting DJI. Sorry that the Zenmuse P1 is not supported by the SDK. Please don't use it.

Thanks,

Luce Luo DJI Developer Support

°°°

dji-dev avatar Jun 01 '21 06:06 dji-dev