Chromium Code Reviews

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

Issue 1993113003: Refactor how padding is calculated. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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.cc
diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc
index 5767448a5f7bf711a24ef214ea47d5f5cac18f20..c0959e824a9f6f5c9c5822f10b47645f6d83c312 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -257,9 +257,11 @@ CongestionController::GetTransportFeedbackObserver() {
return &transport_feedback_adapter_;
}
-void CongestionController::SetAllocatedSendBitrate(int allocated_bitrate_bps,
- int padding_bitrate_bps) {
- pacer_->SetAllocatedSendBitrate(allocated_bitrate_bps, padding_bitrate_bps);
+void CongestionController::SetAllocatedSendBitrate(
+ int min_send_bitrate_bps,
+ int max_padding_bitrate_bps) {
+ pacer_->SetAllocatedSendBitrate(min_send_bitrate_bps,
+ max_padding_bitrate_bps);
}
int64_t CongestionController::GetPacerQueuingDelayMs() const {

Powered by Google App Engine