public Buffer allocate_output_buffer (uint payload_len, uint8 pad_len, uint8 csrc_count)
Allocate a new Buffer with enough data to hold an RTP packet with minimum
csrc_count CSRCs, a payload length of
payload_len and padding of
If this has source_info
true additional CSRCs may be allocated and filled with RTP source information.
the length of the payload
the amount of padding
the minimum number of CSRC entries
A newly allocated buffer that can hold an RTP packet with given parameters.