RTCPBuffer.validateData

Check if the data and size point to the data of a valid compound, non-reduced size RTCP packet. Use this function to validate a packet before using the other functions in this module.

class RTCPBuffer
static
bool
validateData
(
ubyte[] data
)

Parameters

data ubyte[]

the data to validate

Return Value

Type: bool

TRUE if the data points to a valid RTCP packet.