Fixed a Flush/Start initialization bug in the jitter buffer. Also cleaned

up "Nack estimate".
Review URL: http://webrtc-codereview.appspot.com/32009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@78 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
holmer@google.com
2011-06-15 07:37:08 +00:00
parent 2204835d4d
commit 51f2453d98
3 changed files with 34 additions and 43 deletions

View File

@@ -47,12 +47,8 @@ public:
// Return value : Jitter estimate in milliseconds
double GetJitterEstimate(double rttMultiplier);
// Updates the nack counter/timer.
//
// Input:
// - retransmitted : True for a nacked frames, false otherwise
// - wallClockMS : Used for testing
void UpdateNackEstimate(bool retransmitted, WebRtc_Word64 wallClockMS = -1);
// Updates the nack counter.
void FrameNacked();
// Updates the RTT filter.
//
@@ -122,7 +118,6 @@ private:
const double _beta;
const double _thetaLow;
const WebRtc_UWord32 _nackLimit;
const WebRtc_UWord32 _nackWindowMS;
const WebRtc_Word32 _numStdDevDelayOutlier;
const WebRtc_Word32 _numStdDevFrameSizeOutlier;
const double _noiseStdDevs;