diff --git a/modules/video_coding/jitter_estimator.cc b/modules/video_coding/jitter_estimator.cc index a4fb696986..d4899a2803 100644 --- a/modules/video_coding/jitter_estimator.cc +++ b/modules/video_coding/jitter_estimator.cc @@ -112,10 +112,6 @@ void VCMJitterEstimator::Reset() { fps_counter_.Reset(); } -void VCMJitterEstimator::ResetNackCount() { - _nackCount = 0; -} - // Updates the estimates with the new measurements. void VCMJitterEstimator::UpdateEstimate(int64_t frameDelayMS, uint32_t frameSizeBytes, @@ -376,12 +372,6 @@ void VCMJitterEstimator::UpdateRtt(int64_t rttMs) { _rttFilter.Update(rttMs); } -void VCMJitterEstimator::UpdateMaxFrameSize(uint32_t frameSizeBytes) { - if (_maxFrameSize < frameSizeBytes) { - _maxFrameSize = frameSizeBytes; - } -} - // Returns the current filtered estimate if available, // otherwise tries to calculate an estimate. int VCMJitterEstimator::GetJitterEstimate(double rttMultiplier, diff --git a/modules/video_coding/jitter_estimator.h b/modules/video_coding/jitter_estimator.h index 60c1780e7a..a58d667ad2 100644 --- a/modules/video_coding/jitter_estimator.h +++ b/modules/video_coding/jitter_estimator.h @@ -26,7 +26,6 @@ class VCMJitterEstimator { // Resets the estimate to the initial state. void Reset(); - void ResetNackCount(); // Updates the jitter estimate with the new data. // @@ -58,8 +57,6 @@ class VCMJitterEstimator { // - rttMs : RTT in ms. void UpdateRtt(int64_t rttMs); - void UpdateMaxFrameSize(uint32_t frameSizeBytes); - // A constant describing the delay from the jitter buffer to the delay on the // receiving side which is not accounted for by the jitter buffer nor the // decoding delay estimate.