#include <RTCP_Packet.h>
Inheritance diagram for RTCP_BYE_Packet


Public Methods | |
| 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 (char *buffer, int *len) | |
| Constructor for incoming BYE RTCP packets. | |
| virtual | ~RTCP_BYE_Packet (void) |
| Destructor. | |
| unsigned int | packet_size (void) |
| Returns the size of the packet in bytes. | |
| void | 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. | |
| const char* | reason (void) |
| Returns the reason for leaving the session. | |
| void | dump (void) |
| Prints the contents of the packet. | |
Private Methods | |
| 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. | |
|
|
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.
|
|
|
Constructor for incoming BYE RTCP packets.
|
|
|
Destructor.
|
|
|
Used to create the byte representation of the RTCP packet.
Reimplemented from RTCP_Packet. |
|
|
Prints the contents of the packet.
|
|
|
Returns the size of the packet in bytes.
Reimplemented from RTCP_Packet. |
|
|
Returns the reason for leaving the session.
|
|
|
Returns a pointer to a local list of synchronization source ids that are leaving the session.
|
|
|
An optional reason for leaving the session.
|
|
|
The number of bytes in the reason for leaving the session.
|
|
|
List of synchronization source ids that are leaving the session.
|
|
|
The number of ssrc's that are leaving the session (1 for non-mixers).
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000