Reland "Correctly handle retransmissions/padding in early loss detection."
This is a reland of e9ae4729e03f60dbe3b1828dd9009b401097cd3f TBR=philipel@webrtc.org,terelius@webrtc.org Original change's description: > Correctly handle retransmissions/padding in early loss detection. > > This CL makes sure we don't cull packets from the history based on > incorrect ack mapping, just like it's predecessor: > https://webrtc-review.googlesource.com/c/src/+/218000 > > It also changes the logic to make sure retransmits counts towards > history pruning - and properly ignores padding/fec. > > Bug: webrtc:12713 > Change-Id: I7835d10e483687e960a9cce41d4e2f1a6c3189b4 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/221863 > Reviewed-by: Björn Terelius <terelius@webrtc.org> > Reviewed-by: Philip Eliasson <philipel@webrtc.org> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> > Commit-Queue: Erik Språng <sprang@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#34293} Bug: webrtc:12713 Change-Id: Iec123d71edafea98fe289acde007b57e212681f4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/222640 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34297}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
c03d6e965e
commit
6a0a55907b
@ -1267,7 +1267,7 @@ void EventLogAnalyzer::CreateSendSideBweSimulationGraph(Plot* plot) {
|
||||
const RtpPacketType& rtp_packet = *rtp_iterator->second;
|
||||
if (rtp_packet.rtp.header.extension.hasTransportSequenceNumber) {
|
||||
RtpPacketSendInfo packet_info;
|
||||
packet_info.ssrc = rtp_packet.rtp.header.ssrc;
|
||||
packet_info.media_ssrc = rtp_packet.rtp.header.ssrc;
|
||||
packet_info.transport_sequence_number =
|
||||
rtp_packet.rtp.header.extension.transportSequenceNumber;
|
||||
packet_info.rtp_sequence_number = rtp_packet.rtp.header.sequenceNumber;
|
||||
|
||||
@ -84,7 +84,7 @@ void LogBasedNetworkControllerSimulation::OnPacketSent(
|
||||
}
|
||||
|
||||
RtpPacketSendInfo packet_info;
|
||||
packet_info.ssrc = packet.ssrc;
|
||||
packet_info.media_ssrc = packet.ssrc;
|
||||
packet_info.transport_sequence_number = packet.transport_seq_no;
|
||||
packet_info.rtp_sequence_number = packet.stream_seq_no;
|
||||
packet_info.length = packet.size;
|
||||
|
||||
Reference in New Issue
Block a user