sipxmedialib
Version 3.3
|
Estimation algorithm for simple fixed length jitter buffer. More...
#include <MpJbeFixed.h>
Public Member Functions | |
Creators | |
MpJbeFixed () | |
Constructor. More... | |
virtual | ~MpJbeFixed () |
Destructor. More... | |
virtual OsStatus | init (int samplerate) |
Initialize algorithm with given samplerate. More... | |
Manipulators | |
virtual OsStatus | update (const RtpHeader *rtp, uint32_t cur_rtp_timestamp, uint32_t cur_playback_time, int32_t *hint) |
Update estimation with new received packet. More... | |
virtual void | reset () |
Prepare to process other unrelated audio stream. More... | |
Public Member Functions inherited from MpJitterBufferEstimation | |
virtual | ~MpJitterBufferEstimation () |
Destructor. More... | |
Static Public Attributes | |
static const char * | name = "Fixed length JB" |
Private Attributes | |
int | mSamplerate |
int | mJbLength |
int32_t | mDelay |
Additional Inherited Members | |
Static Public Member Functions inherited from MpJitterBufferEstimation | |
static MpJitterBufferEstimation * | createJbe (const UtlString &algName="") |
Factory method for VAD algorithms creation. More... | |
static void | setDefaultAlgorithm (const UtlString &name) |
Set algorithm to be used by default. More... | |
Static Protected Attributes inherited from MpJitterBufferEstimation | |
static UtlString | smDefaultAlgorithm |
Name of algorithm to be used by default. More... | |
Estimation algorithm for simple fixed length jitter buffer.
MpJbeFixed | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Initialize algorithm with given samplerate.
Implements MpJitterBufferEstimation.
|
virtual |
Update estimation with new received packet.
Implements MpJitterBufferEstimation.
|
virtual |
Prepare to process other unrelated audio stream.
Only initialized algorithm can be reseted. Calling reset() should bring algorithm to the original state as it was right after init(). So init() should NOT be called after reset().
Implements MpJitterBufferEstimation.
|
static |
Name of this JBE algorithm for use in MpJitterBufferEstimation::createJbe().
|
private |
|
private |
|
private |