TAO_AV 4.0.0
|
The Sender Report packet is sent by all members of a session that are sending data. It contains statistics on the data being sent out. It also contains a list of RR_Block to represent each source this party is receiving data from. More...
#include <RTCP_Packet.h>
Public Member Functions | |
RTCP_SR_Packet (char *buffer, int *len) | |
Constructor for incoming SR packets. | |
RTCP_SR_Packet (ACE_UINT32 ssrcVal, ACE_UINT32 ntpMSByte, ACE_UINT32 ntpLSByte, ACE_UINT32 timestamp, ACE_UINT32 pktsSent, ACE_UINT32 octetsSent, RR_Block *rrBlocks) | |
Constructor for outgoing SR packets. | |
virtual | ~RTCP_SR_Packet () |
Destructor. | |
unsigned int | packet_size () |
Returns the size of the packet in bytes. | |
ACE_UINT32 | ssrc () |
Returns the synchronization source id for the sender of this packet. | |
ACE_UINT32 | ntp_ts_msw () |
Returns the most significant word of the NTP timestamp. | |
ACE_UINT32 | ntp_ts_lsw () |
Returns the least significant word of the NTP timestamp. | |
void | dump () |
Prints the contents of the 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_ |
The synchronization source id of the sender generating this report. | |
ACE_UINT32 | ntp_ts_msw_ |
The most significant word of the NTP timestamp. | |
ACE_UINT32 | ntp_ts_lsw_ |
The least significant word of the NTP timestamp. | |
ACE_UINT32 | rtp_ts_ |
The RTP timestamp. | |
ACE_UINT32 | psent_ |
The total number of packets sent. | |
ACE_UINT32 | osent_ |
The total number of octets sent. | |
RR_Block * | rr_ |
A linked list of receiver report blocks. | |
Additional Inherited Members | |
![]() | |
RTCP_Common_Header | chd_ |
Header data common to all RTCP packets. | |
char * | packet_data_ |
Buffer to hold byte representation of the RTCP packet. | |
The Sender Report packet is sent by all members of a session that are sending data. It contains statistics on the data being sent out. It also contains a list of RR_Block to represent each source this party is receiving data from.
RTCP_SR_Packet::RTCP_SR_Packet | ( | char * | buffer, |
int * | len ) |
Constructor for incoming SR packets.
RTCP_SR_Packet::RTCP_SR_Packet | ( | ACE_UINT32 | ssrcVal, |
ACE_UINT32 | ntpMSByte, | ||
ACE_UINT32 | ntpLSByte, | ||
ACE_UINT32 | timestamp, | ||
ACE_UINT32 | pktsSent, | ||
ACE_UINT32 | octetsSent, | ||
RR_Block * | rrBlocks ) |
Constructor for outgoing SR packets.
|
virtual |
Destructor.
|
privatevirtual |
Used to create the byte representation of the RTCP packet.
Implements RTCP_Packet.
void RTCP_SR_Packet::dump | ( | ) |
Prints the contents of the packet.
|
inline |
Returns the least significant word of the NTP timestamp.
|
inline |
Returns the most significant word of the NTP timestamp.
|
virtual |
Returns the size of the packet in bytes.
Implements RTCP_Packet.
|
inline |
Returns the synchronization source id for the sender of this packet.
|
private |
The least significant word of the NTP timestamp.
|
private |
The most significant word of the NTP timestamp.
|
private |
The total number of octets sent.
|
private |
The total number of packets sent.
|
private |
A linked list of receiver report blocks.
|
private |
The RTP timestamp.
|
private |
The synchronization source id of the sender generating this report.