Explicitly use RTX for RED in VideoQualityTest and video_loopback.

After the removal of the RED/RTX workaround, we now need to explicitly
enable RTX for RED. Prior to the removal of the workaround, RED over RTX
was implicitly enabled whenever media over RTX was enabled.

BUG=webrtc:6650

Review-Url: https://codereview.webrtc.org/2493723002
Cr-Commit-Position: refs/heads/master@{#15061}
This commit is contained in:
brandtr
2016-11-14 04:07:24 -08:00
committed by Commit bot
parent a65704b5c9
commit 8e75a523c8

View File

@ -1353,10 +1353,13 @@ void VideoQualityTest::RunWithRenderers(const Params& params) {
if (params.video.fec) {
video_send_config_.rtp.ulpfec.red_payload_type = kRedPayloadType;
video_send_config_.rtp.ulpfec.ulpfec_payload_type = kUlpfecPayloadType;
video_send_config_.rtp.ulpfec.red_rtx_payload_type = kRtxRedPayloadType;
video_receive_configs_[stream_id].rtp.ulpfec.red_payload_type =
kRedPayloadType;
video_receive_configs_[stream_id].rtp.ulpfec.ulpfec_payload_type =
kUlpfecPayloadType;
video_receive_configs_[stream_id].rtp.ulpfec.red_rtx_payload_type =
kRtxRedPayloadType;
}
if (params_.screenshare.enabled)