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}
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user