validate_data


Description:

public static bool validate_data (uint8[] data)

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.

Parameters:

data

the data to validate

len

the length of data to validate

Returns:

TRUE if the data points to a valid RTCP packet.