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

Side by Side Diff: webrtc/modules/congestion_controller/probe_controller.h

Issue 2432633002: Handle BW drop in ALR region and initiate probing (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/probe_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 kProbingComplete, 46 kProbingComplete,
47 }; 47 };
48 rtc::CriticalSection critsect_; 48 rtc::CriticalSection critsect_;
49 PacedSender* const pacer_; 49 PacedSender* const pacer_;
50 Clock* const clock_; 50 Clock* const clock_;
51 State state_ GUARDED_BY(critsect_); 51 State state_ GUARDED_BY(critsect_);
52 int min_bitrate_to_probe_further_bps_ GUARDED_BY(critsect_); 52 int min_bitrate_to_probe_further_bps_ GUARDED_BY(critsect_);
53 int64_t time_last_probing_initiated_ms_ GUARDED_BY(critsect_); 53 int64_t time_last_probing_initiated_ms_ GUARDED_BY(critsect_);
54 int estimated_bitrate_bps_ GUARDED_BY(critsect_); 54 int estimated_bitrate_bps_ GUARDED_BY(critsect_);
55 int max_bitrate_bps_ GUARDED_BY(critsect_); 55 int max_bitrate_bps_ GUARDED_BY(critsect_);
56 int64_t last_alr_probing_time_ GUARDED_BY(critsect_);
56 57
57 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ProbeController); 58 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ProbeController);
58 }; 59 };
59 60
60 } // namespace webrtc 61 } // namespace webrtc
61 62
62 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_PROBE_CONTROLLER_H_ 63 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_PROBE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/congestion_controller/probe_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698