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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user