new_allocate_len
Description:
Create a new Buffer that can hold an RTP packet that is exactly packet_len
long.
The length of the payload depends on pad_len
and csrc_count
and can be calculated with
calc_payload_len. All RTP header fields will be set
to 0/FALSE.
Parameters:
packet_len |
the total length of the packet |
pad_len |
the amount of padding |
csrc_count |
the number of CSRC entries |
Returns:
A newly allocated buffer that can hold an RTP packet of |