dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
581 stars 256 forks source link

Problems fetching media #512

Closed gi-ba closed 2 years ago

gi-ba commented 2 years ago

Hi DJI team,

I am using TaskScheduler to fetch media list and fetchThumbnail(_:) function of DJIMedia object but it takes a little bit of time due to the FIFO. I also use DJIMediaManager to play video. App written in Swift.

  1. Is there any solutions to fetch media list and its thumbnails faster? the DJI Go 4 seems to display the media list immediately with all the thumbnails fetched
  2. If Task Scheduler has pending tasks, I cannot play video because the camera appears to be busy ?
  3. The function fetchPreview(_:) is used only for image to fetch thumbnail with better quality. Do we have any function like this for video ?

Thanks, Giba

DJI-William commented 2 years ago
  1. The speed of fetch media list cannot be control by SDK. A better suggestion is using high speed SD card in reading and writing.
  2. The video stream will be stoped while you are fetching photos(busy).
  3. There is no such method for video.