Chromium Code Reviews

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

Issue 2638083002: Attach TransportFeedbackPacketLossTracker to ANA (PLR only) (Closed)
Patch Set: event_log_visualizer Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/congestion_controller/congestion_controller_unittest.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc
index 802f9d1ea454e317fc60904f10a0e15b2d19d4bb..da2d80b39b91cb4fa9deed2f68013613d3c1e4e2 100644
--- a/webrtc/modules/congestion_controller/congestion_controller_unittest.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller_unittest.cc
@@ -79,7 +79,8 @@ class CongestionControllerTest : public ::testing::Test {
}
void OnSentPacket(const PacketFeedback& packet_feedback) {
- controller_->AddPacket(packet_feedback.sequence_number,
+ constexpr uint32_t ssrc = 0;
+ controller_->AddPacket(ssrc, packet_feedback.sequence_number,
packet_feedback.payload_size,
packet_feedback.pacing_info);
controller_->OnSentPacket(rtc::SentPacket(packet_feedback.sequence_number,

Powered by Google App Engine