Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Unified Diff: webrtc/modules/pacing/paced_sender.h

Issue 1932683002: Remove ViEEncoder::SetNetworkStatus (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_pacer
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698