Index: webrtc/modules/congestion_controller/probe_controller.h |
diff --git a/webrtc/modules/congestion_controller/probe_controller.h b/webrtc/modules/congestion_controller/probe_controller.h |
index e60a007b9d94402253d1982b27f3649f79bb6f32..e0e2b4e407e36d193ecb329bd5a4977e69a950b1 100644 |
--- a/webrtc/modules/congestion_controller/probe_controller.h |
+++ b/webrtc/modules/congestion_controller/probe_controller.h |
@@ -36,6 +36,9 @@ class ProbeController { |
void SetEstimatedBitrate(int bitrate_bps); |
+ void EnablePeriodicProbing(bool enable); |
philipel
2016/11/21 12:05:43
EnablePeriodicAlrProbing
Sergey Ulanov
2016/11/21 19:28:18
Done.
|
+ void Process(); |
+ |
private: |
enum class State { |
// Initial state where no probing has been triggered yet. |
@@ -47,7 +50,8 @@ class ProbeController { |
}; |
void InitiateExponentialProbing() EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
- void InitiateProbing(std::initializer_list<int> bitrates_to_probe, |
+ void InitiateProbing(int64_t now_ms, |
+ std::initializer_list<int> bitrates_to_probe, |
int min_bitrate_to_probe_further_bps) |
EXCLUSIVE_LOCKS_REQUIRED(critsect_); |
@@ -62,6 +66,7 @@ class ProbeController { |
int start_bitrate_bps_ GUARDED_BY(critsect_); |
int max_bitrate_bps_ GUARDED_BY(critsect_); |
int64_t last_alr_probing_time_ GUARDED_BY(critsect_); |
+ bool enable_periodic_probing_ GUARDED_BY(critsect_); |
philipel
2016/11/21 12:05:43
enable_periodic_alr_probing_
Sergey Ulanov
2016/11/21 19:28:18
Done.
|
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ProbeController); |
}; |