RTPBuffer.calcHeaderLen
uint calcHeaderLen(ubyte csrcCount)Calculate the header length of an RTP packet with csrc_count CSRC entries. An RTP packet can have at most 15 CSRC entries.
Parameters
csrcCount | the number of CSRC entries |
Returns
The length of an RTP header with csrc_count CSRC entries.