#include <RTCP_Packet.h>
Inheritance diagram for RTCP_SDES_Packet:


Public Methods | |
| RTCP_SDES_Packet (char *buffer, int *len) | |
| Constructor for incoming SDES packets. More... | |
| RTCP_SDES_Packet (void) | |
| Constructor for outgoing SDES packets. More... | |
| virtual | ~RTCP_SDES_Packet (void) |
| Destructor. More... | |
| void | add_item (ACE_UINT32 ssrc, unsigned char type, unsigned char length, const char *data) |
| This will add a standard item of type and length for the ssrc specified. When the first item for a ssrc is added, a chunk is created. Subsequent items for that ssrc are added to the same chunk. New chunks are created for each unique ssrc. More... | |
| void | add_priv_item (ACE_UINT32 ssrc, unsigned char nameLength, const char *name, unsigned char dataLength, const char *data) |
| This will add a private item using the name and data for the ssrc specified. When the first item for a ssrc is added, a chunk is created. Subsequent items for that ssrc are added to the same chunk. New chunks are created for each unique ssrc. More... | |
| unsigned int | packet_size (void) |
| Returns the size of the packet in bytes. More... | |
| void | dump (void) |
| Prints the contents of the packet. More... | |
| ACE_UINT32 | ssrc (void) |
| This returns the synchronization source id for this packet. This assumes that this source is only receiving messages from end systems (i.e. only one source id per SDES). More... | |
Private Methods | |
| void | build_packet (void) |
| Used to create the byte representation of the RTCP packet. More... | |
| void | add_chunk (ACE_UINT32 ssrc) |
| Add a chunk to the packet. More... | |
Private Attributes | |
| unsigned long | num_chunks_ |
| The number of chunks contained in this packet. 1 for end systems, 1+ for mixers. More... | |
| sdesChunk_t * | chunk_ |
| A linked list of chunks for this packet (only 1 for non-mixers). More... | |
|
||||||||||||
|
Constructor for incoming SDES packets.
|
|
|
Constructor for outgoing SDES packets.
|
|
|
Destructor.
|
|
|
Add a chunk to the packet.
|
|
||||||||||||||||||||
|
This will add a standard item of type and length for the ssrc specified. When the first item for a ssrc is added, a chunk is created. Subsequent items for that ssrc are added to the same chunk. New chunks are created for each unique ssrc.
|
|
||||||||||||||||||||||||
|
This will add a private item using the name and data for the ssrc specified. When the first item for a ssrc is added, a chunk is created. Subsequent items for that ssrc are added to the same chunk. New chunks are created for each unique ssrc.
|
|
|
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. |
|
|
This returns the synchronization source id for this packet. This assumes that this source is only receiving messages from end systems (i.e. only one source id per SDES).
|
|
|
A linked list of chunks for this packet (only 1 for non-mixers).
|
|
|
The number of chunks contained in this packet. 1 for end systems, 1+ for mixers.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001