Add ability to abort retransmissions.
In some upcoming use cases we might wish to flush pending retransmissions from the pacer queue. In order to not make those packets forever inaccessible this CL adds a way to clear their "pending" status from the packet history. Bug: webrtc:11340 Change-Id: I9aac44125899a7f1e5a5e5be3390ac07b1e661ad Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274600 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38037}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
7c323ad47c
commit
5045949490
@ -139,6 +139,9 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
|
||||
|
||||
std::vector<std::unique_ptr<RtpPacketToSend>> FetchFecPackets() override;
|
||||
|
||||
void OnAbortedRetransmissions(
|
||||
rtc::ArrayView<const uint16_t> sequence_numbers) override;
|
||||
|
||||
void OnPacketsAcknowledged(
|
||||
rtc::ArrayView<const uint16_t> sequence_numbers) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user