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