Delete unused methods of VCMJitterEstimator

ResetNackCount and UpdateMaxFrameSize were unused.

Bug: None
Change-Id: I314b3edce368ee3230bc3510e1bba520806d1493
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134201
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27789}
This commit is contained in:
Niels Möller
2019-04-25 11:44:55 +02:00
committed by Commit Bot
parent 299c4e6846
commit c5ba5e9572
2 changed files with 0 additions and 13 deletions

View File

@ -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,

View File

@ -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.