Comments

3 comments

  • DJI Developer Support
    Could you please let us know which version of MSDK you are using? Thank you.
    0
    Comment actions Permalink
  • Ernesto David Oliva Pérez

    I am using v5.4.0.

    0
    Comment actions Permalink
  • DJI Developer Support
    Since FPVWidget uses SurfaceView to display the camera image, it is quite difficult to directly capture a screenshot from SurfaceView. You can try to directly obtain the video stream data and then save the video stream data as a photo file. MSDK V5 provides an interface for obtaining YUV data, namely addYuvDataListener. I highly recommend using version 5.8, as this version can display the image using TextureView, and TextureView provides the getBitmap interface. However, this method requires modifying the View type used internally by FPVWidget.
    0
    Comment actions Permalink

Please sign in to leave a comment.