Method:
- get video data from getPrimaryVideoFeed() and send these data to DJICodecManager.
- After last step, the provideTranscodedVideoFeed will return the standard H.264 video stream.
Explaination:
- M300 is a special model, the getPrimaryVideoFeed will return you a DJI stanard H.264 video stream which does not include SPS and PPS. Therefore, it cannot be decoded by FFMPEG.
- Therefore, for the ease of developer to use, we give you a function called provideTranscodedVideoFeed to allow you to get a standard H.264 video stream.
Comments
0 comments
Please sign in to leave a comment.