| Index: webrtc/call/call.cc
|
| diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
|
| index cd31b028bd957fa49b6f307d24b053bff0e4cf95..db19a49031b6108157bebd8bdfd523f7a0721da7 100644
|
| --- a/webrtc/call/call.cc
|
| +++ b/webrtc/call/call.cc
|
| @@ -648,11 +648,8 @@ webrtc::VideoReceiveStream* Call::CreateVideoReceiveStream(
|
| RTC_DCHECK(video_receive_ssrcs_.find(config.rtp.remote_ssrc) ==
|
| video_receive_ssrcs_.end());
|
| video_receive_ssrcs_[config.rtp.remote_ssrc] = receive_stream;
|
| - // TODO(pbos): Configure different RTX payloads per receive payload.
|
| - VideoReceiveStream::Config::Rtp::RtxMap::const_iterator it =
|
| - config.rtp.rtx.begin();
|
| - if (it != config.rtp.rtx.end())
|
| - video_receive_ssrcs_[it->second.ssrc] = receive_stream;
|
| + if (!config.rtp.rtx_payload_types.empty())
|
| + video_receive_ssrcs_[config.rtp.rtx_ssrc] = receive_stream;
|
| video_receive_streams_.insert(receive_stream);
|
| ConfigureSync(config.sync_group);
|
| }
|
|
|