TaskQueuePacedSender: Process packets after outstanding data update

Bug: webrtc:10809
Change-Id: I31785c529d331891830777c93d7067f96580ea39
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238967
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35450}
This commit is contained in:
Jianhui Dai
2021-11-25 15:29:47 +08:00
committed by WebRTC LUCI CQ
parent 8d89f461c9
commit ff05f1fd89

View File

@ -114,6 +114,7 @@ void TaskQueuePacedSender::UpdateOutstandingData(DataSize outstanding_data) {
// Fast path since this can be called once per sent packet while on the
// task queue.
pacing_controller_.UpdateOutstandingData(outstanding_data);
MaybeProcessPackets(Timestamp::MinusInfinity());
return;
}