RTPBuffer.getExtensionOnebyteHeader

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

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

Parameters

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