| Index: webrtc/modules/congestion_controller/include/congestion_controller.h
|
| diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| index aa903fb027332a08185619042ee51d46d8e53e0c..4408cf600d9fae2ab42a85a133ef71a1f4b77ce3 100644
|
| --- a/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h
|
| @@ -91,9 +91,10 @@ class CongestionController : public CallStatsObserver, public Module {
|
| private:
|
| void Init();
|
| void MaybeTriggerOnNetworkChanged();
|
| - // Updates |send_queue_is_full_|. Returns true if |send_queue_is_full_|
|
| - // has changed.
|
| - bool UpdateSendQueueStatus(bool send_queue_is_full);
|
| +
|
| + bool IsSendQueueFull() const;
|
| + bool IsNetworkDown() const;
|
| + bool HasBitrateToReportChanged(uint32_t bitrate_bps);
|
|
|
| Clock* const clock_;
|
| Observer* const observer_;
|
| @@ -105,7 +106,8 @@ class CongestionController : public CallStatsObserver, public Module {
|
| TransportFeedbackAdapter transport_feedback_adapter_;
|
| int min_bitrate_bps_;
|
| rtc::CriticalSection critsect_;
|
| - bool send_queue_is_full_ GUARDED_BY(critsect_);
|
| + uint32_t last_reported_bitrate_bps_ GUARDED_BY(critsect_);
|
| + NetworkState network_state_ GUARDED_BY(critsect_);
|
|
|
| RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
|
| };
|
|
|