Yate
Public Member Functions | Protected Member Functions

RTPDejitter Class Reference

Dejitter buffer for incoming data packets. More...

#include <yatertp.h>

Inheritance diagram for RTPDejitter:
RTPProcessor GenObject

List of all members.

Public Member Functions

 RTPDejitter (RTPReceiver *receiver, unsigned int mindelay, unsigned int maxdelay)
virtual ~RTPDejitter ()
virtual bool rtpRecvData (bool marker, unsigned int timestamp, const void *data, int len)

Protected Member Functions

virtual void timerTick (const Time &when)

Detailed Description

Dejitter buffer for incoming data packets.

A dejitter buffer that can be inserted in the receive data path to absorb variations in packet arrival time. Incoming packets are stored and forwarded at fixed intervals.


Constructor & Destructor Documentation

RTPDejitter ( RTPReceiver receiver,
unsigned int  mindelay,
unsigned int  maxdelay 
)

Constructor of a new jitter attenuator

Parameters:
receiverRTP receiver which gets the delayed packets
mindelayMinimum length of the dejitter buffer in microseconds
maxdelayMaximum length of the dejitter buffer in microseconds
virtual ~RTPDejitter ( ) [virtual]

Destructor - drops the packets and shows statistics


Member Function Documentation

virtual bool rtpRecvData ( bool  marker,
unsigned int  timestamp,
const void *  data,
int  len 
) [virtual]

Process and store one RTP data packet

Parameters:
markerTrue if the marker bit is set in data packet
timestampSampling instant of the packet data
dataPointer to data block to process
lenLength of the data block in bytes
Returns:
True if data was handled
virtual void timerTick ( const Time when) [protected, virtual]

Method called periodically to keep the data flowing

Parameters:
whenTime to use as base in all computing

Implements RTPProcessor.


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