RTCPBuffer.validateDataReduced
bool validateDataReduced(ubyte[] data)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.
Parameters
data | the data to validate |
Returns
TRUE if the data points to a valid RTCP packet.