RTCPAPPPacket Class Reference

Describes an RTCP APP packet.

#include <rtcpapppacket.h>

Inheritance diagram for RTCPAPPPacket:

Inheritance graph
[legend]
Collaboration diagram for RTCPAPPPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RTCPAPPPacket (uint8_t *data, size_t datalen)
 Creates an instance based on the data in data with length datalen.
uint8_t GetSubType () const
 Returns the subtype contained in the APP packet.
uint32_t GetSSRC () const
 Returns the SSRC of the source which sent this packet.
uint8_t * GetName ()
 Returns the name contained in the APP packet.
uint8_t * GetAPPData ()
 Returns a pointer to the actual data.
size_t GetAPPDataLength () const
 Returns the length of the actual data.

Constructor & Destructor Documentation

RTCPAPPPacket::RTCPAPPPacket ( uint8_t *  data,
size_t  datalen 
)

Creates an instance based on the data in data with length datalen. Since the data pointer is referenced inside the class (no copy of the data is made) one must make sure that the memory it points to is valid as long as the class instance exists.


Member Function Documentation

uint8_t * RTCPAPPPacket::GetName (  )  [inline]

Returns the name contained in the APP packet. This alway consists of four bytes and is not NULL-terminated.


The documentation for this class was generated from the following file:
Generated on Thu Feb 8 16:22:21 2007 for jrtplib by  doxygen 1.5.1