Writes the RTP header extension to data using information available from the input_meta. data will be sized to be at least the value returned from gstrtp.rtpheader_extension.RTPHeaderExtension.getMaxSize.
the input #GstBuffer to read information from if necessary
#GstRTPHeaderExtensionFlags for how the extension should be written
output RTP #GstBuffer
location to write the rtp header extension into
the size of the data written, < 0 on failure
Writes the RTP header extension to data using information available from the input_meta. data will be sized to be at least the value returned from gstrtp.rtpheader_extension.RTPHeaderExtension.getMaxSize.