validate_data_reduced


Description:

[ Version ( since = "1.6" ) ]
public static bool validate_data_reduced (uint8[] 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

len

the length of data to validate

Returns:

TRUE if the data points to a valid RTCP packet.