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

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

Issue 2789843002: Delete VieRemb class, move functionality to PacketRouter. (Closed)
Patch Set: Delete obsolete suppression for PacketRouterTest.SendTransportFeedback. 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/receive_side_congestion_controller.cc
diff --git a/webrtc/modules/congestion_controller/receive_side_congestion_controller.cc b/webrtc/modules/congestion_controller/receive_side_congestion_controller.cc
index eb5771ab42a13388693d9bf5eb2ebbce88ca2f4d..b481b26565156722910e843e46eddd87cc96ef01 100644
--- a/webrtc/modules/congestion_controller/receive_side_congestion_controller.cc
+++ b/webrtc/modules/congestion_controller/receive_side_congestion_controller.cc
@@ -11,6 +11,7 @@
#include "webrtc/modules/congestion_controller/include/receive_side_congestion_controller.h"
#include "webrtc/base/logging.h"
+#include "webrtc/modules/pacing/packet_router.h"
#include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h"
#include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h"
@@ -115,9 +116,8 @@ void ReceiveSideCongestionController::WrappingBitrateEstimator::
ReceiveSideCongestionController::ReceiveSideCongestionController(
const Clock* clock,
- RemoteBitrateObserver* remote_bitrate_observer,
PacketRouter* packet_router)
- : remote_bitrate_estimator_(remote_bitrate_observer, clock),
+ : remote_bitrate_estimator_(packet_router, clock),
remote_estimator_proxy_(clock, packet_router) {}
void ReceiveSideCongestionController::OnReceivedPacket(
« no previous file with comments | « webrtc/modules/congestion_controller/include/receive_side_congestion_controller.h ('k') | webrtc/modules/pacing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698