RTPBuffer.getExtensionOnebyteHeader

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

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

Parameters

id ubyte

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

nth uint

Read the nth extension packet with the requested ID

data ubyte[]

location for data

Return Value

Type: bool

TRUE if buffer had the requested header extension