#include <jitter.h>
Inheritance diagram for RTP_JitterBuffer:
Public Member Functions | |
RTP_JitterBuffer (RTP_Session &session, unsigned minJitterDelay, unsigned maxJitterDelay, unsigned timeUnits=8, PINDEX stackSize=30000) | |
virtual PBoolean | OnReadPacket (RTP_DataFrame &frame, PBoolean loop) |
Protected Attributes | |
RTP_Session & | session |
RTP_JitterBuffer::RTP_JitterBuffer | ( | RTP_Session & | session, | |
unsigned | minJitterDelay, | |||
unsigned | maxJitterDelay, | |||
unsigned | timeUnits = 8 , |
|||
PINDEX | stackSize = 30000 | |||
) |
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 |
stackSize | Stack size for jitter thread |
virtual PBoolean RTP_JitterBuffer::OnReadPacket | ( | RTP_DataFrame & | frame, | |
PBoolean | loop | |||
) | [virtual] |
This class instance collects data from the outside world in this method.
frame | Frame read from the RTP session |
loop | If PTrue, loop as long as data is available, if PFalse, only process once |
Implements OpalJitterBuffer.
RTP_Session& RTP_JitterBuffer::session [protected] |
This class extracts data from the outside world by reading from this session variable