Valadoc | Vala | Tutorial | API-References | Markup

rtp_buffer_calc_payload_len


Description:

public uint rtp_buffer_calc_payload_len (uint packet_len, uchar pad_len, uchar csrc_count)

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

Parameters:

pad_len the amount of padding
packet_len the length of the total RTP packet
csrc_count the number of CSRC entries

Returns:

The length of the payload of an RTP packet with given parameters.

Namespace: Gst
Package: gstreamer-rtp-0.10