4. If you want to write your own decoder, you can addaddStreamDataListenerto receive the video stream data.
5. If you don't want to write your own decoder, you can use DJI decoderIVideoDecoderto decode.
Note:
This interface is deprecated starting from MSDK 5.8.0. Please call getCameraStreamManager to obtain a CameraStreamManager instance to implement video stream management related functions.
Get a list of availableStreamSource. After getting all video stream sources, you can callgetAvailableVideoChannelsto get available video channel and add the video source in.
Get all available video channels. After getting available video channels, you can callstartChannelto bindStreamSourcewith and enable video stream. Also you can callgetAvailableVideoChannelto get the type of video channel and set the video channels. Note: The first video channel is the main channelPRIMARY_STREAM_CHANNEL. The second video channel(If there is one) is the deputy channelSECONDARY_STREAM_CHANNEL. The third video channel(If there is one) is the extended channelEXTENDED_STREAM_CHANNEL.