parameters.
RTPBasePayload.allocateOutputBuffer
gst.buffer.Buffer allocateOutputBuffer(uint payloadLen, ubyte padLen, ubyte csrcCount)Allocate a new #GstBuffer with enough data to hold an RTP packet with minimum csrc_count CSRCs, a payload length of payload_len and padding of pad_len. If payload has #GstRTPBasePayload:source-info true additional CSRCs may be allocated and filled with RTP source information.
Parameters
payloadLen | the length of the payload |
padLen | the amount of padding |
csrcCount | the minimum number of CSRC entries |
Returns
A newly allocated buffer that can hold an RTP packet with given