Index: webrtc/video/vie_channel.cc |
diff --git a/webrtc/video/vie_channel.cc b/webrtc/video/vie_channel.cc |
index 63ab809acde0f63d6af36cbcec99c61aca398dd6..c92a1053c6b72e64298566c4e1e8e7f9636f22b7 100644 |
--- a/webrtc/video/vie_channel.cc |
+++ b/webrtc/video/vie_channel.cc |
@@ -150,7 +150,7 @@ int32_t ViEChannel::Init() { |
for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) |
rtp_rtcp->SetStorePacketsStatus(true, nack_history_size_sender_); |
} |
- packet_router_->AddRtpModule(rtp_rtcp_modules_[0]); |
+ packet_router_->AddRtpModule(rtp_rtcp_modules_[0], sender_); |
if (sender_) { |
std::list<RtpRtcp*> send_rtp_modules(1, rtp_rtcp_modules_[0]); |
send_payload_router_->SetSendingRtpModules(send_rtp_modules); |
@@ -414,7 +414,7 @@ int32_t ViEChannel::SetSendCodec(const VideoCodec& video_codec, |
// Register new active modules. |
for (size_t i = num_prev_active_modules; i < num_active_modules; ++i) { |
module_process_thread_->RegisterModule(rtp_rtcp_modules_[i]); |
- packet_router_->AddRtpModule(rtp_rtcp_modules_[i]); |
+ packet_router_->AddRtpModule(rtp_rtcp_modules_[i], sender_); |
} |
return 0; |
} |