Cleanup construction parameters for remote bitrate estimator helpers
Values of these parameters are always the same and thus can be hardcoded
Bug: None
Change-Id: Ie19a1c6305d503ad2c92af503006a72b7981e178
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298622
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39637}
diff --git a/modules/remote_bitrate_estimator/inter_arrival_unittest.cc b/modules/remote_bitrate_estimator/inter_arrival_unittest.cc
index 72a772e..581963e 100644
--- a/modules/remote_bitrate_estimator/inter_arrival_unittest.cc
+++ b/modules/remote_bitrate_estimator/inter_arrival_unittest.cc
@@ -33,12 +33,11 @@
class InterArrivalTest : public ::testing::Test {
protected:
virtual void SetUp() {
- inter_arrival_.reset(
- new InterArrival(kTimestampGroupLengthUs / 1000, 1.0, true));
+ inter_arrival_.reset(new InterArrival(kTimestampGroupLengthUs / 1000, 1.0));
inter_arrival_rtp_.reset(new InterArrival(
- MakeRtpTimestamp(kTimestampGroupLengthUs), kRtpTimestampToMs, true));
- inter_arrival_ast_.reset(new InterArrival(
- MakeAbsSendTime(kTimestampGroupLengthUs), kAstToMs, true));
+ MakeRtpTimestamp(kTimestampGroupLengthUs), kRtpTimestampToMs));
+ inter_arrival_ast_.reset(
+ new InterArrival(MakeAbsSendTime(kTimestampGroupLengthUs), kAstToMs));
}
// Test that neither inter_arrival instance complete the timestamp group from