class RTPDejitter

Dejitter buffer for incoming data packets. More...

Full nameTelEngine::RTPDejitter
Definition#include <libs/yrtp/yatertp.h>
InheritsTelEngine::RTPProcessor [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

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.

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

RTPDejitter

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

 ~RTPDejitter ()

~RTPDejitter

[virtual]

Destructor - drops the packets and shows statistics

bool  rtpRecv (bool marker, int payload, unsigned int timestamp, const void* data, int len)

rtpRecv

[virtual]

Process and store one RTP data packet

Parameters:
markerTrue if the marker bit is set in data packet
payloadPayload number
timestampSampling instant of the packet data
dataPointer to data block to process
lenLength of the data block in bytes

Returns: True if the data packet was queued

void  clear ()

clear

Clear the delayed packets queue and all variables

void  timerTick (const Time& when)

timerTick

[protected virtual]

Method called periodically to keep the data flowing

Parameters:
whenTime to use as base in all computing

Reimplemented from RTPProcessor.


Generated by: paulc on bussard on Sun Oct 20 21:06:06 2013, using kdoc 2.0a54.