RTP_JitterBuffer Class Reference

#include <jitter.h>

Inheritance diagram for RTP_JitterBuffer:

OpalJitterBufferThread OpalJitterBuffer List of all members.

Public Member Functions

 RTP_JitterBuffer (RTP_Session &session, unsigned minJitterDelay, unsigned maxJitterDelay, unsigned timeUnits=8, PINDEX packetSize=2048)
virtual PBoolean OnReadPacket (RTP_DataFrame &frame, PBoolean loop)

Protected Attributes

RTP_Sessionsession

Detailed Description

A descendant of the OpalJitterBuffer that reads RTP_DataFrame instances from the RTP_Sessions


Constructor & Destructor Documentation

RTP_JitterBuffer::RTP_JitterBuffer ( RTP_Session session,
unsigned  minJitterDelay,
unsigned  maxJitterDelay,
unsigned  timeUnits = 8,
PINDEX  packetSize = 2048 
)

Parameters:
session  Associated RTP session tor ead data from
minJitterDelay  Minimum delay in RTP timestamp units
maxJitterDelay  Maximum delay in RTP timestamp units
timeUnits  Time units, usually 8 or 16
packetSize  Max RTP packet size


Member Function Documentation

virtual PBoolean RTP_JitterBuffer::OnReadPacket ( RTP_DataFrame frame,
PBoolean  loop 
) [virtual]

This class instance collects data from the outside world in this method.

Returns:
PTrue on successful read, PFalse on faulty read.
Parameters:
frame  Frame read from the RTP session
loop  If PTrue, loop as long as data is available, if PFalse, only process once

Implements OpalJitterBufferThread.


Member Data Documentation

RTP_Session& RTP_JitterBuffer::session [protected]

This class extracts data from the outside world by reading from this session variable


The documentation for this class was generated from the following file:
Generated on Mon Aug 3 20:50:57 2009 for OPAL by  doxygen 1.5.1