Florent Castelli 6595685b3b datachannel: Remove buffered_amount_ variable
The queued_send_data_ packet queue contains the actual data and has an
efficient byte_count() accessor. It removes the need to do some manual
accounting on the side.

Bug: webrtc:13288
Change-Id: Ie6bc39c344186160c630bcf337631614c6d9ee10
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235372
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35227}
2021-10-18 13:32:22 +00:00
..
2021-05-27 09:56:42 +00:00
2021-08-31 14:27:49 +00:00
2021-05-27 09:56:42 +00:00