RTPBuffer.calcHeaderLen

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

class RTPBuffer
static
uint
calcHeaderLen
(
ubyte csrcCount
)

Parameters

csrcCount ubyte

the number of CSRC entries

Return Value

Type: uint

The length of an RTP header with csrc_count CSRC entries.