get_extension_onebyte_header


Description:

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

Parses RFC 5285 style header extensions with a one byte header.

It will return the nth extension with the requested id.

Parameters:

this

the RTP packet

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