Valadoc | Vala | Tutorial | API-References | Markup

rtp_buffer_get_extension_data


Description:

public bool rtp_buffer_get_extension_data (Buffer buffer, out uint16 bits, out void* data, out uint wordlen)

Get the extension data. bits will contain the extension 16 bits of custom data. data will point to the data in the extension and wordlen will contain the length of data in 32 bits words. If buffer did not contain an extension, this function will return false with bits, data and wordlen unchanged.

Parameters:

buffer the buffer
bits location for result bits
data location for data
wordlen location for length of data in 32 bits words

Returns:

TRUE if buffer had the extension bit set.

Namespace: Gst
Package: gstreamer-rtp-0.10