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 a0531cc27ec3560b02765d599849123523d68b08..11c6a0c6ab6458d08f8fae08ae9ea2bff6a62c98 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" |
#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; |
danilchap
2016/08/19 17:19:34
Why this class need full instead of forward defini
Irfan
2016/08/23 05:46:57
due to use of std::unique_ptr<> I see complaints f
|
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(); |
// Implements CallStatsObserver. |
void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; |