aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorNiels Möller <nisse@webrtc.org>2018-05-23 13:54:51 +0200
committerCommit Bot <commit-bot@chromium.org>2018-05-23 13:14:40 +0000
commiteda0087e579854f88327d5fb665012fc86fbb65c (patch)
tree4c690f2a4a38c0d162f2bd3db85452ad53262b92 /audio
parent89ee4a6c8c684c11aa9f59ada72bf7a6b2b059a9 (diff)
downloadwebrtc-eda0087e579854f88327d5fb665012fc86fbb65c.tar.gz
Drop the RTT as input to IsRetransmitOfOldPacket.
Bug: webrtc:7135 Change-Id: I532334934a757ba0ea6a2daf97b0f1cfd04246e6 Reviewed-on: https://webrtc-review.googlesource.com/12320 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23366}
Diffstat (limited to 'audio')
-rw-r--r--audio/channel.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/audio/channel.cc b/audio/channel.cc
index df34ca22ce..73459c1c5f 100644
--- a/audio/channel.cc
+++ b/audio/channel.cc
@@ -916,9 +916,7 @@ bool Channel::IsPacketRetransmitted(const RTPHeader& header,
if (!statistician)
return false;
// Check if this is a retransmission.
- int64_t min_rtt = 0;
- _rtpRtcpModule->RTT(rtp_receiver_->SSRC(), NULL, NULL, &min_rtt, NULL);
- return !in_order && statistician->IsRetransmitOfOldPacket(header, min_rtt);
+ return !in_order && statistician->IsRetransmitOfOldPacket(header);
}
int32_t Channel::ReceivedRTCPPacket(const uint8_t* data, size_t length) {