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

Unified Diff: webrtc/modules/congestion_controller/probe_bitrate_estimator.cc

Issue 2628563003: Propagate packet pacing information to SenTimeHistory (Closed)
Patch Set: . Created 3 years, 11 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_bitrate_estimator.cc
diff --git a/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc b/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc
index c69bd1a429da5b0eb3e867644d4eaf5b97706cf1..875d1820abe1db973e903c262b1a0744e1028ec6 100644
--- a/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc
+++ b/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc
@@ -115,6 +115,12 @@ int ProbeBitrateEstimator::HandleProbeAndEstimateBitrate(
return std::min(send_bps, receive_bps);
}
+void ProbeBitrateEstimator::OnProbingClusterCreated(int cluster_id,
+ int min_bytes,
+ int min_probes) {
+ // TODO(philipel): Use this info to make better estimates.
+}
+
void ProbeBitrateEstimator::EraseOldClusters(int64_t timestamp_ms) {
for (auto it = clusters_.begin(); it != clusters_.end();) {
if (it->second.last_receive_ms < timestamp_ms) {

Powered by Google App Engine
This is Rietveld 408576698