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

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

Issue 2628563003: Propagate packet pacing information to SenTimeHistory (Closed)
Patch Set: . Created 3 years, 11 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 2fae264156fd3efc4d3b5ed10bf3789f202bb23d..e84391ac290c427b2d6ee65c29617079523aee5d 100644
--- a/webrtc/modules/congestion_controller/congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/congestion_controller.cc
@@ -154,14 +154,13 @@ CongestionController::CongestionController(
RemoteBitrateObserver* remote_bitrate_observer,
RtcEventLog* event_log,
PacketRouter* packet_router)
- : CongestionController(
- clock,
- observer,
- remote_bitrate_observer,
- event_log,
- packet_router,
- std::unique_ptr<PacedSender>(new PacedSender(clock, packet_router))) {
-}
+ : CongestionController(clock,
+ observer,
+ remote_bitrate_observer,
+ event_log,
+ packet_router,
+ std::unique_ptr<PacedSender>(
+ new PacedSender(clock, packet_router, this))) {}
CongestionController::CongestionController(
Clock* clock,
@@ -332,6 +331,13 @@ void CongestionController::Process() {
MaybeTriggerOnNetworkChanged();
}
+void CongestionController::OnProbingClusterCreated(int cluster_id,
+ int min_bytes,
+ int min_probes) {
+ transport_feedback_adapter_.OnProbingClusterCreated(cluster_id, min_bytes,
+ min_probes);
+}
+
void CongestionController::MaybeTriggerOnNetworkChanged() {
// TODO(perkj): |observer_| can be nullptr if the ctor that accepts a
// BitrateObserver is used. Remove this check once the ctor is removed.
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/delay_based_bwe.h » ('j') | webrtc/modules/pacing/bitrate_prober.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698