Chromium Code Reviews| Index: webrtc/modules/pacing/paced_sender.h |
| diff --git a/webrtc/modules/pacing/paced_sender.h b/webrtc/modules/pacing/paced_sender.h |
| index 8b3e79c858fe1a74fcfa6a1ce3f383925819565e..980901a954b1b57ad29dbb601d33d74e31693f12 100644 |
| --- a/webrtc/modules/pacing/paced_sender.h |
| +++ b/webrtc/modules/pacing/paced_sender.h |
| @@ -110,9 +110,14 @@ class PacedSender : public Module, public RtpPacketSender { |
| virtual size_t QueueSizePackets() const; |
| + // Returns true if the PacedSender is not Paused |
| + // and the expected time it will take to send the current packets in the |
| + // queue is less than kMaxQueueLengthMs. |
| + virtual bool CanSendMorePackets() const; |
| + |
| // Returns the number of milliseconds it will take to send the current |
| // packets in the queue, given the current size and bitrate, ignoring prio. |
| - virtual int64_t ExpectedQueueTimeMs() const; |
| + int64_t ExpectedQueueTimeMs() const; |
|
stefan-webrtc
2016/05/02 10:56:30
Can this be made private?
|
| // Returns the average time since being enqueued, in milliseconds, for all |
| // packets currently in the pacer queue, or 0 if queue is empty. |