get_extension_data


Description:

public bool get_extension_data (out uint16 bits, out unowned uint8[] 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:

this

the RTP packet

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.