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 724f6794e3a54158c826a4375efb244e74068f37..94f47d4768791e470b485ff57feec7f2186ac275 100644 |
--- a/webrtc/modules/congestion_controller/include/congestion_controller.h |
+++ b/webrtc/modules/congestion_controller/include/congestion_controller.h |
@@ -15,6 +15,7 @@ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/common_types.h" |
+#include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
stefan-webrtc
2016/09/02 13:10:22
Why is this change needed?
|
#include "webrtc/modules/include/module.h" |
#include "webrtc/modules/include/module_common_types.h" |
#include "webrtc/modules/pacing/packet_router.h" |
@@ -28,7 +29,6 @@ struct SentPacket; |
namespace webrtc { |
-class BitrateController; |
class Clock; |
class ProcessThread; |
class RateLimiter; |
@@ -96,7 +96,12 @@ class CongestionController : public CallStatsObserver, public Module { |
void SetAllocatedSendBitrateLimits(int min_send_bitrate_bps, |
int max_padding_bitrate_bps); |
- virtual void OnSentPacket(const rtc::SentPacket& sent_packet); |
+ void OnSentPacket(const rtc::SentPacket& sent_packet); |
+ |
+ // Called by delay based estimator to report estimated bandwidth. |
+ void OnDelayBasedBweChanged(int bitrate_bps); |
+ // Called by delay based estimator to evaluate if probes need to be handled. |
+ bool IsExpectingProbingResults(); |
stefan-webrtc
2016/09/02 13:10:22
I'm not super happy about making these public. The
|
// Implements CallStatsObserver. |
void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; |