Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc

Issue 2931873002: Test and fix for huge bwe drop after alr state. (Closed)
Patch Set: fix_for_unittest Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
index 62c9f881bc1ef1e92213efc871e6013bc2eddc6c..288886d450cf02d496c0524f9c7a185cdff04a54 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
+++ b/webrtc/modules/congestion_controller/delay_based_bwe_unittest_helper.cc
@@ -184,7 +184,7 @@ void DelayBasedBweTest::IncomingFeedback(int64_t arrival_time_ms,
sequence_number, payload_size, pacing_info);
std::vector<PacketFeedback> packets;
packets.push_back(packet);
- acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets);
+ acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets, false);
DelayBasedBwe::Result result =
bitrate_estimator_->IncomingPacketFeedbackVector(
packets, acknowledged_bitrate_estimator_->bitrate_bps());
@@ -219,7 +219,7 @@ bool DelayBasedBweTest::GenerateAndProcessFrame(uint32_t ssrc,
packet.arrival_time_ms += arrival_time_offset_ms_;
}
- acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets);
+ acknowledged_bitrate_estimator_->IncomingPacketFeedbackVector(packets, false);
DelayBasedBwe::Result result =
bitrate_estimator_->IncomingPacketFeedbackVector(
packets, acknowledged_bitrate_estimator_->bitrate_bps());

Powered by Google App Engine
This is Rietveld 408576698