Index: webrtc/video/video_send_stream.cc |
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc |
index fe4d1d903bff794a32c87b62a1f159bb581b0d00..45bf0f4b72de3ab1359411b7c4ad10954b85f5c6 100644 |
--- a/webrtc/video/video_send_stream.cc |
+++ b/webrtc/video/video_send_stream.cc |
@@ -214,6 +214,7 @@ VideoSendStream::VideoSendStream( |
RTC_DCHECK(congestion_controller_); |
RTC_DCHECK(remb_); |
+ payload_router_.Init(rtp_rtcp_modules_); |
RTC_CHECK(vie_encoder_.Init()); |
encoder_feedback_.Init(config_.rtp.ssrcs, &vie_encoder_); |
RTC_CHECK(vie_channel_.Init() == 0); |
@@ -279,6 +280,9 @@ VideoSendStream::VideoSendStream( |
rtp_rtcp->RegisterRtcpStatisticsCallback(&stats_proxy_); |
rtp_rtcp->RegisterSendChannelRtpStatisticsCallback(&stats_proxy_); |
rtp_rtcp->SetMaxTransferUnit(mtu); |
+ rtp_rtcp->RegisterVideoSendPayload( |
+ config_.encoder_settings.payload_type, |
+ config_.encoder_settings.payload_name.c_str()); |
} |
RTC_DCHECK(config.encoder_settings.encoder != nullptr); |