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

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

Issue 2917873002: Refactored incoming bitrate estimator. (Closed)
Patch Set: Respond to comments 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.cc
diff --git a/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc b/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc
index dcec0f8000eca124b0acc066c40ac7278d30a0c1..a368658b7a10aa68bc642f511304503dc0cda343 100644
--- a/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc
+++ b/webrtc/modules/congestion_controller/delay_based_bwe_unittest.cc
@@ -27,7 +27,8 @@ const PacedPacketInfo kPacingInfo1(1, kNumProbesCluster1, 4000);
TEST_F(DelayBasedBweTest, NoCrashEmptyFeedback) {
std::vector<PacketFeedback> packet_feedback_vector;
- bitrate_estimator_->IncomingPacketFeedbackVector(packet_feedback_vector);
+ bitrate_estimator_->IncomingPacketFeedbackVector(packet_feedback_vector,
+ rtc::Optional<uint32_t>());
}
TEST_F(DelayBasedBweTest, NoCrashOnlyLostFeedback) {
@@ -36,7 +37,8 @@ TEST_F(DelayBasedBweTest, NoCrashOnlyLostFeedback) {
PacketFeedback(-1, -1, 0, 1500, PacedPacketInfo()));
packet_feedback_vector.push_back(
PacketFeedback(-1, -1, 1, 1500, PacedPacketInfo()));
- bitrate_estimator_->IncomingPacketFeedbackVector(packet_feedback_vector);
+ bitrate_estimator_->IncomingPacketFeedbackVector(packet_feedback_vector,
+ rtc::Optional<uint32_t>());
}
TEST_F(DelayBasedBweTest, ProbeDetection) {

Powered by Google App Engine
This is Rietveld 408576698