#include <jitter.h>
Public Member Functions |
| RTP_JitterBuffer (RTP_Session &session, unsigned minJitterDelay, unsigned maxJitterDelay, unsigned timeUnits=8, PINDEX packetSize=2048) |
| ~RTP_JitterBuffer () |
virtual PBoolean | OnReadPacket (RTP_DataFrame &frame) |
| OpalJitterBufferThread (unsigned minJitterDelay, unsigned maxJitterDelay, unsigned timeUnits=8, PINDEX packetSize=2048) |
| ~OpalJitterBufferThread () |
virtual PBoolean | ReadData (RTP_DataFrame &frame) |
void | StartThread () |
| OpalJitterBuffer (unsigned minJitterDelay, unsigned maxJitterDelay, unsigned timeUnits=8, PINDEX packetSize=2048) |
virtual | ~OpalJitterBuffer () |
void | PrintOn (ostream &strm) const |
void | SetDelay (unsigned minJitterDelay, unsigned maxJitterDelay, PINDEX packetSize=2048) |
void | Reset () |
virtual PBoolean | WriteData (const RTP_DataFrame &frame, const PTimeInterval &tick=0) |
virtual PBoolean | ReadData (RTP_DataFrame &frame, const PTimeInterval &tick=0) |
DWORD | GetCurrentJitterDelay () const |
DWORD | GetMinJitterDelay () const |
DWORD | GetMaxJitterDelay () const |
unsigned | GetTimeUnits () const |
DWORD | GetPacketsTooLate () const |
DWORD | GetBufferOverruns () const |
DWORD | GetMaxConsecutiveMarkerBits () const |
void | SetMaxConsecutiveMarkerBits (DWORD max) |
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 |
RTP_JitterBuffer::~RTP_JitterBuffer |
( |
| ) |
|
Member Function Documentation
virtual PBoolean RTP_JitterBuffer::OnReadPacket |
( |
RTP_DataFrame & |
frame | ) |
|
|
virtual |
This class instance collects data from the outside world in this method.
- Returns
- true on successful read, false on faulty read.
- Parameters
-
frame | Frame read from the RTP session |
Implements OpalJitterBufferThread.
Field Documentation
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: