Victor Boivie bcf588da8f dcsctp: Estimate rwnd by payload bytes
The dcSCTP receiver was advertising available window space (arwnd) based
solely on payload bytes, while the sender's rwnd estimation included
packet headers. This mismatch caused the sender to underestimate the
receiver's available buffer, potentially leading to reduced throughput.

This commit resolves the issue by ensuring both sender and receiver use
payload bytes, as headers have been removed on the receiver side while
in the reassembly queue.

Bug: webrtc:396373001
Change-Id: I508419efb09cabf2fb011f952f5f4a06586a4019
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/377122
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43899}
2025-02-17 02:36:07 -08:00
..
2023-11-15 12:10:28 +00:00
2025-01-08 08:39:49 -08:00
2025-02-17 02:36:07 -08:00
2021-05-12 15:06:17 +00:00
2021-04-20 10:42:58 +00:00