From d64862ac1b672b6e9fba25a1363208407b1cd4f4 Mon Sep 17 00:00:00 2001 From: nisse Date: Thu, 9 Mar 2017 11:45:55 -0800 Subject: [PATCH] Add back method CongestionController::GetTransportFeedbackObserver. This is a partial revert of https://codereview.webrtc.org/2725823002/, to not break downstream applications. BUG=webrtc:7058 TBR=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/2745613002 Cr-Commit-Position: refs/heads/master@{#17152} --- .../congestion_controller/include/congestion_controller.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h index 34547aa366..b8ba3b5a2c 100644 --- a/webrtc/modules/congestion_controller/include/congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h @@ -94,6 +94,9 @@ class CongestionController : public CallStatsObserver, // TODO(nisse): Delete this accessor function. The pacer should be // internal to the congestion controller. virtual PacedSender* pacer() { return pacer_.get(); } + virtual TransportFeedbackObserver* GetTransportFeedbackObserver() { + return this; + } RateLimiter* GetRetransmissionRateLimiter(); void EnablePeriodicAlrProbing(bool enable);