How do I exactly set up a video decoder and a YUVdatalistener?
CompletedI am very new to android development. I need to get the bitmap from my mavic 3 enterprise's camera I have read that I need to get the yuv data from the FPVWidget to transform it into the bitmap, but I am having difficulties in setting up the video decoder and the yuv listener. How do I exactly do it? In which class? And how do I exaclty get the information needed to get my bitmap?
-
I generally consider FPVWidget to be a widget provided by UXSDK. If you want to get YUV data or bitmap through FPVWidget, you need to modify the code of FPVWidget. I would recommend you to first take a look at this article to understand how MSDK retrieves video stream data and displays the camera feed:https://developer.dji.com/doc/mobile-sdk-tutorial/en/tutorials/video-stream/video-stream2.html
Please sign in to leave a comment.
Comments
2 comments