Index: webrtc/video/rtp_stream_receiver.cc |
diff --git a/webrtc/video/rtp_stream_receiver.cc b/webrtc/video/rtp_stream_receiver.cc |
index 29bd78152e5ba4eee686b72d5145ce08a251b668..98b46831c53894ae655928156babf8120a45fff7 100644 |
--- a/webrtc/video/rtp_stream_receiver.cc |
+++ b/webrtc/video/rtp_stream_receiver.cc |
@@ -132,11 +132,8 @@ RtpStreamReceiver::RtpStreamReceiver( |
} |
static const int kMaxPacketAgeToNack = 450; |
- NACKMethod nack_method = |
- config.rtp.nack.rtp_history_ms > 0 ? kNackRtcp : kNackOff; |
- const int max_reordering_threshold = (nack_method == kNackRtcp) |
+ const int max_reordering_threshold = (config.rtp.nack.rtp_history_ms > 0) |
? kMaxPacketAgeToNack : kDefaultMaxReorderingThreshold; |
- rtp_receiver_->SetNACKStatus(nack_method); |
rtp_receive_statistics_->SetMaxReorderingThreshold(max_reordering_threshold); |
// TODO(pbos): Support multiple RTX, per video payload. |