Implements a task-queue based PacedSender, wires it up for field trials
Bug: webrtc:10809 Change-Id: Ia181c16559f4598f32dd399c24802d0a289e250b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/150942 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29946}
This commit is contained in:
@ -111,9 +111,14 @@ class PacingController {
|
||||
// Returns the time since the oldest queued packet was enqueued.
|
||||
TimeDelta OldestPacketWaitTime() const;
|
||||
|
||||
// Number of packets in the pacer queue.
|
||||
size_t QueueSizePackets() const;
|
||||
// Totals size of packets in the pacer queue.
|
||||
DataSize QueueSizeData() const;
|
||||
|
||||
// Current buffer level, i.e. max of media and padding debt.
|
||||
DataSize CurrentBufferLevel() const;
|
||||
|
||||
// Returns the time when the first packet was sent;
|
||||
absl::optional<Timestamp> FirstSentPacketTime() const;
|
||||
|
||||
|
Reference in New Issue
Block a user