Index: webrtc/media/engine/webrtcvideoengine.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine.cc b/webrtc/media/engine/webrtcvideoengine.cc |
index 274b801625d7730930aaef47bfa1154e14f04090..897f3de1fb1a7eb2f2dd7f6d46e6f4cdb0739755 100644 |
--- a/webrtc/media/engine/webrtcvideoengine.cc |
+++ b/webrtc/media/engine/webrtcvideoengine.cc |
@@ -2152,6 +2152,11 @@ void WebRtcVideoChannel::WebRtcVideoReceiveStream::ConfigureCodecs( |
config_.rtp.nack.rtp_history_ms = |
HasNack(recv_codecs.begin()->codec) ? kNackHistoryMs : 0; |
+ if (config_.rtp.ulpfec.red_rtx_payload_type != -1) { |
+ config_.rtp |
+ .rtx_associated_payload_types[config_.rtp.ulpfec.red_rtx_payload_type] = |
+ config_.rtp.ulpfec.red_payload_type; |
+ } |
} |
void WebRtcVideoChannel::WebRtcVideoReceiveStream::ConfigureFlexfecCodec( |