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

Unified Diff: webrtc/modules/pacing/bitrate_prober.h

Issue 2609113003: BitrateProber::CreateProbeCluster now only accept one parameter (bitrate_bps). (Closed)
Patch Set: static_cast<int> + PacedSenderTest fix. 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/pacing/bitrate_prober.h
diff --git a/webrtc/modules/pacing/bitrate_prober.h b/webrtc/modules/pacing/bitrate_prober.h
index 81eea64512927c246854a8cbcca4caca1fc4c62a..e1a0a84f10a48cc714669686e6343fe573ce2d6e 100644
--- a/webrtc/modules/pacing/bitrate_prober.h
+++ b/webrtc/modules/pacing/bitrate_prober.h
@@ -38,7 +38,7 @@ class BitrateProber {
// Create a cluster used to probe for |bitrate_bps| with |num_probes| number
// of probes.
- void CreateProbeCluster(int bitrate_bps, int num_probes);
+ void CreateProbeCluster(int bitrate_bps);
// Returns the number of milliseconds until the next probe should be sent to
// get accurate probing.
@@ -74,9 +74,11 @@ class BitrateProber {
// A probe cluster consists of a set of probes. Each probe in turn can be
// divided into a number of packets to accomodate the MTU on the network.
struct ProbeCluster {
- int max_probes = 0;
+ int min_probes = 0;
int sent_probes = 0;
- int probe_bitrate_bps = 0;
+ int min_bytes = 0;
+ int sent_bytes = 0;
+ int bitrate_bps = 0;
int id = -1;
};
« no previous file with comments | « webrtc/modules/congestion_controller/probe_controller_unittest.cc ('k') | webrtc/modules/pacing/bitrate_prober.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698