RTPProcessor Class Reference

Base class to ease creation of RTP forwarders. More...

#include <yatertp.h>

Inheritance diagram for RTPProcessor:

GenObject RTPDejitter RTPSession RTPTransport

List of all members.

Public Member Functions

 RTPProcessor ()
virtual ~RTPProcessor ()
RTPGroupgroup () const
virtual void rtpData (const void *data, int len)
virtual void rtcpData (const void *data, int len)

Protected Member Functions

void group (RTPGroup *newgrp)
virtual void timerTick (const Time &when)=0

Friends

class RTPGroup
class RTPTransport
class RTPSession
class RTPSender
class RTPReceiver


Detailed Description

Base class to ease creation of RTP forwarders.

A base class that contains just placeholders to process raw RTP and RTCP packets.


Constructor & Destructor Documentation

RTPProcessor (  ) 

Constructor - processor should be later inserted in a RTP group

virtual ~RTPProcessor (  )  [virtual]

Destructor - removes itself from the RTP group


Member Function Documentation

void group ( RTPGroup newgrp  )  [protected]

Set a new RTP group for this processor

Parameters:
newgrp New group to join this processor, the old one will be left

RTPGroup* group (  )  const [inline]

Get the RTP group to which this processor belongs

Returns:
Pointer to the RTP group this processor has joined

virtual void rtcpData ( const void *  data,
int  len 
) [virtual]

This method is called to send or process a RTCP packet

Parameters:
data Pointer to raw RTCP data
len Length of the data packet

Reimplemented in RTPTransport, and RTPSession.

virtual void rtpData ( const void *  data,
int  len 
) [virtual]

This method is called to send or process a RTP packet

Parameters:
data Pointer to raw RTP data
len Length of the data packet

Reimplemented in RTPTransport, and RTPSession.

virtual void timerTick ( const Time when  )  [protected, pure virtual]

Method called periodically to keep the data flowing

Parameters:
when Time to use as base in all computing

Implemented in RTPTransport, RTPDejitter, and RTPSession.


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

Generated on Sun Dec 7 21:45:27 2008 for Yate by  doxygen 1.5.7.1