#include <RTCP_Channel.h>
Public Member Functions | |
RTCP_Channel_Out (void) | |
Constructor. | |
~RTCP_Channel_Out (void) | |
Destructor. | |
void | updateStatistics (RTP_Packet *pkt) |
Update the channel statistics each time an RTP packet is sent. | |
ACE_UINT32 | timestamp (void) |
Returns the timestamp of the last RTP packet sent. | |
ACE_UINT32 | packets_sent (void) |
Returns the number of packets sent. | |
ACE_UINT32 | octets_sent (void) |
Returns the number of octets sent. | |
void | cname (const char *cname) |
Sets the canonical name of the source. | |
const char * | cname (void) |
Returns the canonical name of the source. | |
char | active (void) |
Returns whether or not this source is active. | |
Private Attributes | |
ACE_CString | cname_ |
Holds the canonical name for this channel. | |
char | active_ |
Flag to indicate whether or not this channel is active. | |
unsigned int | seq_num_ |
The sequence number of the last RTP packet sent. | |
unsigned int | timestamp_ |
The timestamp of the last RTP packet sent. | |
unsigned int | timestamp_offset_ |
The initial offset of the timestamp. | |
unsigned int | packets_sent_ |
The total number of packets sent. | |
unsigned int | octets_sent_ |
The total numbef of octets sent. |
RTCP_Channel_Out::RTCP_Channel_Out | ( | void | ) |
Constructor.
RTCP_Channel_Out::~RTCP_Channel_Out | ( | void | ) |
Destructor.
void RTCP_Channel_Out::updateStatistics | ( | RTP_Packet * | pkt | ) |
Update the channel statistics each time an RTP packet is sent.
ACE_UINT32 RTCP_Channel_Out::timestamp | ( | void | ) |
Returns the timestamp of the last RTP packet sent.
ACE_UINT32 RTCP_Channel_Out::packets_sent | ( | void | ) |
Returns the number of packets sent.
ACE_UINT32 RTCP_Channel_Out::octets_sent | ( | void | ) |
Returns the number of octets sent.
void RTCP_Channel_Out::cname | ( | const char * | cname | ) | [inline] |
Sets the canonical name of the source.
const char* RTCP_Channel_Out::cname | ( | void | ) | [inline] |
Returns the canonical name of the source.
char RTCP_Channel_Out::active | ( | void | ) |
Returns whether or not this source is active.
ACE_CString RTCP_Channel_Out::cname_ [private] |
Holds the canonical name for this channel.
char RTCP_Channel_Out::active_ [private] |
Flag to indicate whether or not this channel is active.
unsigned int RTCP_Channel_Out::seq_num_ [private] |
The sequence number of the last RTP packet sent.
unsigned int RTCP_Channel_Out::timestamp_ [private] |
The timestamp of the last RTP packet sent.
unsigned int RTCP_Channel_Out::timestamp_offset_ [private] |
The initial offset of the timestamp.
unsigned int RTCP_Channel_Out::packets_sent_ [private] |
The total number of packets sent.
unsigned int RTCP_Channel_Out::octets_sent_ [private] |
The total numbef of octets sent.