calc_header_len


Description:

public static uint calc_header_len (uint8 csrc_count)

Calculate the header length of an RTP packet with csrc_count CSRC entries.

An RTP packet can have at most 15 CSRC entries.

Parameters:

csrc_count

the number of CSRC entries

Returns:

The length of an RTP header with csrc_count CSRC entries.