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

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

Issue 2827333005: Moving overhead counting to bitrate estimators.
Patch Set: Created 3 years, 8 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/congestion_controller.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
index 62772b7f131d986c80885e2da67db7ae43dcdf84..5019e8c8853acebeacef3049d709e679c8e05834 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -108,9 +108,11 @@ void CongestionController::Process() {
void CongestionController::AddPacket(uint32_t ssrc,
uint16_t sequence_number,
- size_t length,
+ size_t payload_size,
+ size_t rtp_headers_size,
const PacedPacketInfo& pacing_info) {
- send_side_cc_.AddPacket(ssrc, sequence_number, length, pacing_info);
+ send_side_cc_.AddPacket(ssrc, sequence_number, payload_size, rtp_headers_size,
+ pacing_info);
}
void CongestionController::OnTransportFeedback(

Powered by Google App Engine
This is Rietveld 408576698