The Source Description packet is sent by all members of a session. At a minimum, the canonical name (or CNAME) is sent with each RTCP packet. Other items such as name, email, or location are included less frequently.
More...
#include <RTCP_Packet.h>
The Source Description packet is sent by all members of a session. At a minimum, the canonical name (or CNAME) is sent with each RTCP packet. Other items such as name, email, or location are included less frequently.
◆ RTCP_SDES_Packet() [1/2]
RTCP_SDES_Packet::RTCP_SDES_Packet |
( |
char * | buffer, |
|
|
int * | len ) |
Constructor for incoming SDES packets.
◆ RTCP_SDES_Packet() [2/2]
RTCP_SDES_Packet::RTCP_SDES_Packet |
( |
| ) |
|
Constructor for outgoing SDES packets.
◆ ~RTCP_SDES_Packet()
RTCP_SDES_Packet::~RTCP_SDES_Packet |
( |
| ) |
|
|
virtual |
◆ add_chunk()
void RTCP_SDES_Packet::add_chunk |
( |
ACE_UINT32 | ssrc | ) |
|
|
private |
Add a chunk to the packet.
◆ add_item()
void RTCP_SDES_Packet::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.
◆ add_priv_item()
void RTCP_SDES_Packet::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.
◆ build_packet()
void RTCP_SDES_Packet::build_packet |
( |
| ) |
|
|
privatevirtual |
Used to create the byte representation of the RTCP packet.
Implements RTCP_Packet.
◆ dump()
void RTCP_SDES_Packet::dump |
( |
| ) |
|
Prints the contents of the packet.
◆ packet_size()
unsigned int RTCP_SDES_Packet::packet_size |
( |
| ) |
|
|
virtual |
Returns the size of the packet in bytes.
Implements RTCP_Packet.
◆ ssrc()
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)
◆ chunk_
A linked list of chunks for this packet (only 1 for non-mixers).
◆ num_chunks_
unsigned long RTCP_SDES_Packet::num_chunks_ |
|
private |
The number of chunks contained in this packet. 1 for end systems, 1+ for mixers
The documentation for this class was generated from the following files: