Remove unused incomplete_frame argument from JitterEstimator.

Bug: webrtc:14151
Change-Id: I6764315f0c10b304f50e4639a3e49e4ed013c41e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267842
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37443}
This commit is contained in:
philipel
2022-07-05 14:03:25 +02:00
committed by WebRTC LUCI CQ
parent 39b1b42487
commit e1c707c40f
3 changed files with 21 additions and 35 deletions

View File

@ -39,12 +39,7 @@ class JitterEstimator {
// Input:
// - frame_delay : Delay-delta calculated by UTILDelayEstimate.
// - frame_size : Frame size of the current frame.
// - incomplete_frame : Flags if the frame is used to update the
// estimate before it was complete.
// Default is false.
void UpdateEstimate(TimeDelta frame_delay,
DataSize frame_size,
bool incomplete_frame = false);
void UpdateEstimate(TimeDelta frame_delay, DataSize frame_size);
// Returns the current jitter estimate and adds an RTT dependent term in cases
// of retransmission.
@ -94,9 +89,7 @@ class JitterEstimator {
//
// Input:
// - d_dT : The deviation from the kalman estimate.
// - incomplete_frame : True if the frame used to update the
// estimate with was incomplete.
void EstimateRandomJitter(double d_dT, bool incomplete_frame);
void EstimateRandomJitter(double d_dT);
double NoiseThreshold() const;