RTPBuffer.getExtensionTwobytesHeader

bool getExtensionTwobytesHeader(out ubyte appbits, ubyte id, uint nth, out ubyte[] data)

Parses RFC 5285 style header extensions with a two bytes header. It will return the nth extension with the requested id.

Parameters

appbitsApplication specific bits
idThe ID of the header extension to be read (between 1 and 14).
nthRead the nth extension packet with the requested ID
datalocation for data

Returns

TRUE if buffer had the requested header extension