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

Unified Diff: webrtc/video/rtp_stream_receiver.cc

Issue 2774623006: Let PacketRouter separate send and receive modules. (Closed)
Patch Set: Send feedback messages on a send module, if possible. Created 3 years, 9 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/video/rtp_stream_receiver.cc
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc
index 499ee0953e69ed90e6f2de6d1d14af47d79e5ace..0085d9415112083c81d753ddfff23dfd9318e6d1 100644
--- a/webrtc/video/rtp_stream_receiver.cc
+++ b/webrtc/video/rtp_stream_receiver.cc
@@ -116,7 +116,7 @@ RtpStreamReceiver::RtpStreamReceiver(
complete_frame_callback_(complete_frame_callback),
keyframe_request_sender_(keyframe_request_sender),
timing_(timing) {
- packet_router_->AddRtpModule(rtp_rtcp_.get());
+ packet_router_->AddReceiveRtpModule(rtp_rtcp_.get());
rtp_receive_statistics_->RegisterRtpStatisticsCallback(receive_stats_proxy);
rtp_receive_statistics_->RegisterRtcpStatisticsCallback(receive_stats_proxy);
@@ -203,7 +203,7 @@ RtpStreamReceiver::~RtpStreamReceiver() {
process_thread_->DeRegisterModule(rtp_rtcp_.get());
- packet_router_->RemoveRtpModule(rtp_rtcp_.get());
+ packet_router_->RemoveReceiveRtpModule(rtp_rtcp_.get());
rtp_rtcp_->SetREMBStatus(false);
if (config_.rtp.remb) {
remb_->RemoveReceiveChannel(rtp_rtcp_.get());

Powered by Google App Engine
This is Rietveld 408576698