|
TAO_AV 4.0.1
|
The BYE RTCP packet is sent by a party when leaving an RTP session. More...
#include <RTCP_Packet.h>


Public Member Functions | |
| RTCP_BYE_Packet (ACE_UINT32 *srcList, unsigned char length, const char *text=0) | |
| RTCP_BYE_Packet (char *buffer, int *len) | |
| Constructor for incoming BYE RTCP packets. | |
| virtual | ~RTCP_BYE_Packet () |
| Destructor. | |
| unsigned int | packet_size () |
| Returns the size of the packet in bytes. | |
| void | ssrc_list (ACE_UINT32 **ssrc_list, unsigned char &length) |
| const char * | reason () |
| Returns the reason for leaving the session. | |
| void | dump () |
| Prints the contents of the packet. | |
Public Member Functions inherited from RTCP_Packet | |
| RTCP_Packet () | |
| Constructor for outgoing RTCP packets. | |
| RTCP_Packet (char *buffer) | |
| Constructor for incoming RTCP packets. | |
| virtual | ~RTCP_Packet () |
| Destructor. | |
| void | get_packet_data (char **buffer, ACE_UINT16 &length) |
| Returns a pointer to a local buffer containing the packet. | |
| int | is_valid (char is_first) |
Private Member Functions | |
| void | build_packet () |
| Used to create the byte representation of the RTCP packet. | |
Private Attributes | |
| ACE_UINT32 * | ssrc_list_ |
| List of synchronization source ids that are leaving the session. | |
| unsigned char | ssrc_list_length_ |
| The number of ssrc's that are leaving the session (1 for non-mixers). | |
| char | reason_ [256] |
| An optional reason for leaving the session. | |
| unsigned char | reason_length_ |
| The number of bytes in the reason for leaving the session. | |
Additional Inherited Members | |
Protected Attributes inherited from RTCP_Packet | |
| RTCP_Common_Header | chd_ |
| Header data common to all RTCP packets. | |
| char * | packet_data_ |
| Buffer to hold byte representation of the RTCP packet. | |
The BYE RTCP packet is sent by a party when leaving an RTP session.
| RTCP_BYE_Packet::RTCP_BYE_Packet | ( | ACE_UINT32 * | srcList, |
| unsigned char | length, | ||
| const char * | text = 0 ) |
Constructor for outgoing BYE RTCP packets. Takes a synchronization source id list, the list length (1 for non-mixers), and an optional reason for leaving the session.
| RTCP_BYE_Packet::RTCP_BYE_Packet | ( | char * | buffer, |
| int * | len ) |
Constructor for incoming BYE RTCP packets.
|
virtual |
Destructor.
|
privatevirtual |
Used to create the byte representation of the RTCP packet.
Implements RTCP_Packet.
| void RTCP_BYE_Packet::dump | ( | ) |
Prints the contents of the packet.
|
virtual |
Returns the size of the packet in bytes.
Implements RTCP_Packet.
| const char * RTCP_BYE_Packet::reason | ( | ) |
Returns the reason for leaving the session.
| void RTCP_BYE_Packet::ssrc_list | ( | ACE_UINT32 ** | ssrc_list, |
| unsigned char & | length ) |
Returns a pointer to a local list of synchronization source ids that are leaving the session.
|
private |
An optional reason for leaving the session.
|
private |
The number of bytes in the reason for leaving the session.
|
private |
List of synchronization source ids that are leaving the session.
|
private |
The number of ssrc's that are leaving the session (1 for non-mixers).