| 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 efcc2a1d4a39ab27ebdf10e22d91a4484d64ebf3..eb29eacf0d40ecdd644f5ec1689fc93eb77f8313 100644
|
| --- a/webrtc/modules/congestion_controller/probe_controller.h
|
| +++ b/webrtc/modules/congestion_controller/probe_controller.h
|
| @@ -17,6 +17,10 @@
|
| #include "webrtc/common_types.h"
|
| #include "webrtc/modules/pacing/paced_sender.h"
|
|
|
| +namespace rtc {
|
| +struct NetworkRoute;
|
| +}
|
| +
|
| namespace webrtc {
|
|
|
| class Clock;
|
| @@ -28,9 +32,12 @@ class ProbeController {
|
| public:
|
| ProbeController(PacedSender* pacer, Clock* clock);
|
|
|
| - void SetBitrates(int min_bitrate_bps,
|
| - int start_bitrate_bps,
|
| + void SetBitrates(int start_bitrate_bps,
|
| + int min_bitrate_bps,
|
| int max_bitrate_bps);
|
| +
|
| + void OnNetworkRouteChanged(const rtc::NetworkRoute& route);
|
| +
|
| void SetEstimatedBitrate(int bitrate_bps);
|
|
|
| private:
|
| @@ -52,6 +59,7 @@ class ProbeController {
|
| int min_bitrate_to_probe_further_bps_ GUARDED_BY(critsect_);
|
| int64_t time_last_probing_initiated_ms_ GUARDED_BY(critsect_);
|
| int estimated_bitrate_bps_ GUARDED_BY(critsect_);
|
| + int start_bitrate_bps_ GUARDED_BY(critsect_);
|
| int max_bitrate_bps_ GUARDED_BY(critsect_);
|
| int64_t last_alr_probing_time_ GUARDED_BY(critsect_);
|
|
|
|
|