评论

3 条评论

  • DJI Developer Support
    Could you please let us know which version of MSDK you are using? Thank you.
    0
    评论操作 固定链接
  • Ernesto David Oliva Pérez

    I am using v5.4.0.

    0
    评论操作 固定链接
  • 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
    评论操作 固定链接

请先登录再写评论。