RTPBuffer.calcHeaderLen

uint calcHeaderLen(ubyte csrcCount) static nothrow

Calculate the header length of an RTP packet with csrc_count CSRC entries. An RTP packet can have at most 15 CSRC entries.

Parameters

csrcCountthe number of CSRC entries

Returns

The length of an RTP header with csrc_count CSRC entries.