calc_packet_len
Description:
Calculate the total length of an RTP packet with a payload size of payload_len
, a padding of pad_len
and a
csrc_count
CSRC entries.
Parameters:
payload_len |
the length of the payload |
pad_len |
the amount of padding |
csrc_count |
the number of CSRC entries |
Returns:
The total length of an RTP header with given parameters. |