Index: webrtc/modules/pacing/paced_sender.h |
diff --git a/webrtc/modules/pacing/paced_sender.h b/webrtc/modules/pacing/paced_sender.h |
index e04fafdbb4741518aed35ecccb9f423cc11c82f8..be1318d42bdaf3c33d2d8efce873be06941e09b6 100644 |
--- a/webrtc/modules/pacing/paced_sender.h |
+++ b/webrtc/modules/pacing/paced_sender.h |
@@ -149,6 +149,9 @@ class PacedSender : public Module, public RtpPacketSender { |
// Called when the prober is associated with a process thread. |
void ProcessThreadAttached(ProcessThread* process_thread) override; |
+ void SetPacingFactor(float pacing_factor); |
+ void SetQueueTimeLimit(int limit_ms); |
+ |
private: |
// Updates the number of bytes that can be sent for the next time interval. |
void UpdateBudgetWithElapsedTime(int64_t delta_time_in_ms) |
@@ -193,6 +196,9 @@ class PacedSender : public Module, public RtpPacketSender { |
std::unique_ptr<paced_sender::PacketQueue> packets_ GUARDED_BY(critsect_); |
uint64_t packet_counter_; |
ProcessThread* process_thread_ = nullptr; |
+ |
+ float pacing_factor_ GUARDED_BY(critsect_); |
+ int64_t queue_time_limit GUARDED_BY(critsect_); |
}; |
} // namespace webrtc |
#endif // WEBRTC_MODULES_PACING_PACED_SENDER_H_ |