Valadoc | Vala | Tutorial | API-References | Markup

rtp_buffer_calc_packet_len


Description:

public uint rtp_buffer_calc_packet_len (uint payload_len, uchar pad_len, uchar csrc_count)

Calculate the total length of an RTP packet with a payload size of payload_len, a padding of pad_len and a csrc_count CSRC entries.

Parameters:

pad_len the amount of padding
payload_len the length of the payload
csrc_count the number of CSRC entries

Returns:

The total length of an RTP header with given parameters.

Namespace: Gst
Package: gstreamer-rtp-0.10