Valadoc | Vala | Tutorial | API-References | Markup

rtp_buffer_allocate_data


Description:

public void rtp_buffer_allocate_data (Buffer buffer, uint payload_len, uchar pad_len, uchar csrc_count)

Allocate enough data in buffer to hold an RTP packet with csrc_count CSRCs, a payload length of payload_len and padding of pad_len. MALLOCDATA of buffer will be overwritten and will not be freed. All other RTP header fields will be set to 0/FALSE.

Parameters:

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

Namespace: Gst
Package: gstreamer-rtp-0.10