add_packet


Description:

public bool add_packet (Type type, Packet packet)

Add a new packet of type to this.

packet will point to the newly created packet.

Parameters:

this

a valid RTCP buffer

type

the Type of the new packet

packet

pointer to new packet

Returns:

true if the packet could be created. This function returns false if the max mtu is exceeded for the buffer.