MSDK V5.4.0 Mavic 3 Enterprise getMediaFileList

Completed

Comments

3 comments

  • DJI Developer Support
    I'm having a problem that after taking a photo, the MediaFileListState changes to "UP_TO_DATE" but when I use getMediaFileListData() the List is always the same and has the same size. --》This is a known issue and we will fix it in version 5.5. And after some time it gives me an error saying that it failed to Allocate Memory. -->Is this a stable occurrence? What device are you using?
    0
    Comment actions Permalink
  • Ricardo Vieira

    I found the solution, I have to call MediaManager.release() to release resources. And I'm using the DJI RC Pro Enterprise with the Mavic 3 Enterprise Thermal

    0
    Comment actions Permalink
  • DJI Developer Support
    I found the solution, I have to call MediaManager.release() to release resources. -->Yes, both MediaDataCenter.getInstance().mediaManager.release() and mediaFile.release() will release the occupied resources. You need to call them in a timely manner when you no longer need to use them.
    1
    Comment actions Permalink

Please sign in to leave a comment.