13 #ifndef _MpJitterBufferEstimation_h_ 14 #define _MpJitterBufferEstimation_h_ 18 #include <os/OsIntTypes.h> 19 #include <os/OsStatus.h> 20 #include <utl/UtlString.h> 48 virtual OsStatus
init(
int samplerate) = 0;
71 uint32_t cur_rtp_timestamp,
72 uint32_t cur_playback_time,
86 virtual void reset() = 0;
123 #endif // _MpJitterBufferEstimation_h_ static void setDefaultAlgorithm(const UtlString &name)
Set algorithm to be used by default.
Definition: MpJitterBufferEstimation.cpp:63
virtual void reset()=0
Prepare to process other unrelated audio stream.
static MpJitterBufferEstimation * createJbe(const UtlString &algName="")
Factory method for VAD algorithms creation.
Definition: MpJitterBufferEstimation.cpp:32
virtual OsStatus init(int samplerate)=0
Initialize algorithm with given samplerate.
virtual ~MpJitterBufferEstimation()
Destructor.
Definition: MpJitterBufferEstimation.h:45
virtual OsStatus update(const RtpHeader *rtp, uint32_t cur_rtp_timestamp, uint32_t cur_playback_time, int32_t *hint)=0
Update estimation with new received packet.
static UtlString smDefaultAlgorithm
Name of algorithm to be used by default.
Definition: MpJitterBufferEstimation.h:113
Abstract base class for Jitter Buffer Estimation (JBE) algorithms.
Definition: MpJitterBufferEstimation.h:35