TAO_AV 4.0.3
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
RTCP_RR_Packet Class Reference

The Receiver Report packet is sent by all members of a session that are not sending data. It contains a list of RR_Block to represent each source this party is receiving data from. More...

#include <RTCP_Packet.h>

Inheritance diagram for RTCP_RR_Packet:
Inheritance graph
[legend]
Collaboration diagram for RTCP_RR_Packet:
Collaboration graph
[legend]

Public Member Functions

 RTCP_RR_Packet (char *buffer, int *len)
 Constructor for incoming receiver reports.
 
 RTCP_RR_Packet (ACE_UINT32 ssrc, RR_Block *blocks)
 Constructor for outgoing receiver reports.
 
virtual ~RTCP_RR_Packet ()
 Destructor.
 
unsigned int packet_size ()
 Returns the size of the packet in bytes.
 
ACE_INT32 ssrc ()
 Returns the synchronization source id of the source sending this packet.
 
void dump ()
 Prints the contents of the packet.
 
- Public Member Functions inherited from RTCP_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 of this report.
 
RR_Blockrr_
 A linked list of the receiver report block(s) being sent.
 

Additional Inherited Members

- Protected Attributes inherited from RTCP_Packet
RTCP_Common_Header chd_
 Header data common to all RTCP packets.
 
char * packet_data_
 Buffer to hold byte representation of the RTCP packet.
 

Detailed Description

The Receiver Report packet is sent by all members of a session that are not sending data. It contains a list of RR_Block to represent each source this party is receiving data from.

Constructor & Destructor Documentation

◆ RTCP_RR_Packet() [1/2]

RTCP_RR_Packet::RTCP_RR_Packet ( char * buffer,
int * len )

Constructor for incoming receiver reports.

◆ RTCP_RR_Packet() [2/2]

RTCP_RR_Packet::RTCP_RR_Packet ( ACE_UINT32 ssrc,
RR_Block * blocks )

Constructor for outgoing receiver reports.

◆ ~RTCP_RR_Packet()

RTCP_RR_Packet::~RTCP_RR_Packet ( )
virtual

Destructor.

Member Function Documentation

◆ build_packet()

void RTCP_RR_Packet::build_packet ( )
privatevirtual

Used to create the byte representation of the RTCP packet.

Implements RTCP_Packet.

◆ dump()

void RTCP_RR_Packet::dump ( )

Prints the contents of the packet.

◆ packet_size()

unsigned int RTCP_RR_Packet::packet_size ( )
virtual

Returns the size of the packet in bytes.

Implements RTCP_Packet.

◆ ssrc()

ACE_INT32 RTCP_RR_Packet::ssrc ( )
inline

Returns the synchronization source id of the source sending this packet.

Member Data Documentation

◆ rr_

RR_Block* RTCP_RR_Packet::rr_
private

A linked list of the receiver report block(s) being sent.

◆ ssrc_

ACE_UINT32 RTCP_RR_Packet::ssrc_
private

The synchronization source id of the sender of this report.


The documentation for this class was generated from the following files: