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

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

Issue 2827333005: Moving overhead counting to bitrate estimators.
Patch Set: Created 3 years, 8 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
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 29 matching lines...) Expand all
40 int size_first_receive = 0; 40 int size_first_receive = 0;
41 int size_total = 0; 41 int size_total = 0;
42 }; 42 };
43 43
44 // Erases old cluster data that was seen before |timestamp_ms|. 44 // Erases old cluster data that was seen before |timestamp_ms|.
45 void EraseOldClusters(int64_t timestamp_ms); 45 void EraseOldClusters(int64_t timestamp_ms);
46 46
47 std::map<int, AggregatedCluster> clusters_; 47 std::map<int, AggregatedCluster> clusters_;
48 RtcEventLog* const event_log_; 48 RtcEventLog* const event_log_;
49 rtc::Optional<int> estimated_bitrate_bps_; 49 rtc::Optional<int> estimated_bitrate_bps_;
50 const bool send_side_bwe_with_overhead_;
50 }; 51 };
51 52
52 } // namespace webrtc 53 } // namespace webrtc
53 54
54 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_PROBE_BITRATE_ESTIMATOR_H_ 55 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_PROBE_BITRATE_ESTIMATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698