Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: webrtc/modules/congestion_controller/probe_controller.h

Issue 2986563002: Add probing to recover faster from large bitrate drops. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4a3071cc592b944e43dd921e8ea28b12841b9db9..6f66bd1d9e741bdd1b0248d2137474a94422d21b 100644
--- a/webrtc/modules/congestion_controller/probe_controller.h
+++ b/webrtc/modules/congestion_controller/probe_controller.h
@@ -38,6 +38,10 @@ class ProbeController {
void EnablePeriodicAlrProbing(bool enable);
+ void SetAlrEndedTimeMs(int64_t alr_end_time);
+
+ void RequestProbe(uint32_t bitrate_bps);
+
// Resets the ProbeController to a state equivalent to as if it was just
// created EXCEPT for |enable_periodic_alr_probing_|.
void Reset();
@@ -69,8 +73,10 @@ class ProbeController {
int64_t estimated_bitrate_bps_ GUARDED_BY(critsect_);
int64_t start_bitrate_bps_ GUARDED_BY(critsect_);
int64_t max_bitrate_bps_ GUARDED_BY(critsect_);
- int64_t last_alr_probing_time_ GUARDED_BY(critsect_);
+ int64_t last_bwe_drop_probing_time_ms_ GUARDED_BY(critsect_);
+ rtc::Optional<int64_t> alr_end_time_ms_ GUARDED_BY(critsect_);
bool enable_periodic_alr_probing_ GUARDED_BY(critsect_);
+ bool in_rapid_recovery_experiment_ GUARDED_BY(critsect_);
// For WebRTC.BWE.MidCallProbing.* metric.
bool mid_call_probing_waiting_for_result_ GUARDED_BY(&critsect_);

Powered by Google App Engine
This is Rietveld 408576698