RTCPBuffer.validateDataReduced

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

This function is updated to support reduced size rtcp packets according to RFC 5506 and will validate full compound RTCP packets as well as reduced size RTCP packets.

class RTCPBuffer
static
bool
validateDataReduced
(
ubyte[] data
)

Parameters

data ubyte[]

the data to validate

Return Value

Type: bool

TRUE if the data points to a valid RTCP packet.