git-svn-id: http://webrtc.googlecode.com/svn/trunk@74 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mikhal@google.com
2011-06-14 17:54:20 +00:00
parent 0c08ed1ef9
commit 17705a9c5a
16 changed files with 998 additions and 729 deletions

View File

@@ -422,7 +422,7 @@ VCMJitterEstimator::UpdateMaxFrameSize(WebRtc_UWord32 frameSizeBytes)
// Returns the current filtered estimate if available,
// otherwise tries to calculate an estimate.
double
VCMJitterEstimator::GetJitterEstimate()
VCMJitterEstimator::GetJitterEstimate(double rttMultiplier)
{
double jitterMS = CalculateEstimate();
if (_filterJitterEstimate > jitterMS)
@@ -431,7 +431,7 @@ VCMJitterEstimator::GetJitterEstimate()
}
if (_nackCount >= _nackLimit)
{
return jitterMS + _rttFilter.RttMs();
return jitterMS + _rttFilter.RttMs() * rttMultiplier;
}
return jitterMS;
}