get_extension_twobytes_header


Description:

public bool get_extension_twobytes_header (out uint8 appbits, uint8 id, uint nth, out unowned uint8[] data)

Parses RFC 5285 style header extensions with a two bytes header.

It will return the nth extension with the requested id.

Parameters:

this

the RTP packet

appbits

Application specific bits

id

The ID of the header extension to be read (between 1 and 14).

nth

Read the nth extension packet with the requested ID

data

location for data

size

the size of the data in bytes

Returns:

TRUE if buffer had the requested header extension




2022 vala-language.org