Parses decoding assistant information for H.264 stream data. The information will be useful for the H.264 decoder. This method has been moved from DJIVideoFeeder to DJIVideoFeed since 4.12 to support multiple channel decoding.
Input Parameters:
uint8_t * buffer
H.264 stream data to parse.
int length
The data's length.
void * assistInfo
An allocated memory with at least 8 bytes to receive the assistant information.
Return:
BOOL
YES if information is parsed successfully from the stream.
Synchronizes the decoder status (if it is in normal status) to the video feed. The decoder status is useful for the assistant information parser. This method has been moved from DJIVideoFeeder to DJIVideoFeed since 4.12 to support multiple channel decoding.
Tells the parser that the decoder has decoded a frame successfully. This method has been moved from DJIVideoFeeder to DJIVideoFeed since 4.12 to support multiple channel decoding.
Tells the parser that the decoder has failed to decode frames from the video feed. This method has been moved from DJIVideoFeeder to DJIVideoFeed since 4.12 to support multiple channel decoding.
The video feed is from the FPV camera on Inspire 2, M200 series and M200 series v2 and Matrice 300 RTK.
DJIVideoFeedPhysicalSourceEXT
The video feed is from EXT port while EXT port is enabled. It is only used for Lightbridge 2 or aircrafts with Lightbridge 2 (e.g. M600).
DJIVideoFeedPhysicalSourceLB
The video feed is from one of the LB ports (AV or HDMI) while EXT Port is enabled. It is only used for stand-alone Lightbridge 2 or aircraft with stand-alone Lightbridge 2 modules (e.g. M600).
DJIVideoFeedPhysicalSourceHDMI
The video feed is from the HDMI port while EXT port is disabled. It is only used for stand-alone Lightbridge 2 or aircraft with stand-alone Lightbridge 2 modules.
DJIVideoFeedPhysicalSourceAV
The video feed is from AV port while EXT port is disabled. It is only used for stand-alone Lightbridge 2 or aircraft with stand-alone Lightbridge 2 modules.
DJIVideoFeedPhysicalSourceLeftCamera
The video feed is from the port (left) main camera. It is only used for M210 series and M210 V2 series and Matrice 300 RTK.
DJIVideoFeedPhysicalSourceRightCamera
The video feed is from the starboard (right) main camera. It is only used for M210 series and M210 V2 series and Matrice 300 RTK.
DJIVideoFeedPhysicalSourceTopCamera
The video feed is from the camera above the aircraft. It is only used for Matrice 300 RTK.