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

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

Issue 2997883002: Video/Screenshare loopback tool.
Patch Set: Rebase Created 3 years, 4 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
« no previous file with comments | « webrtc/modules/pacing/alr_detector.cc ('k') | webrtc/modules/pacing/interval_budget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/pacing/bitrate_prober.cc
diff --git a/webrtc/modules/pacing/bitrate_prober.cc b/webrtc/modules/pacing/bitrate_prober.cc
index 8f676af67804ed45a7d2eba0bec0ac570f595c92..4fcba4f2a34464f66e59a48fd5903efb20119f1d 100644
--- a/webrtc/modules/pacing/bitrate_prober.cc
+++ b/webrtc/modules/pacing/bitrate_prober.cc
@@ -16,6 +16,7 @@
#include "webrtc/modules/pacing/paced_sender.h"
#include "webrtc/rtc_base/checks.h"
#include "webrtc/rtc_base/logging.h"
+#include "webrtc/system_wrappers/include/clock.h"
namespace webrtc {
@@ -106,7 +107,15 @@ void BitrateProber::CreateProbeCluster(int bitrate_bps, int64_t now_ms) {
cluster.pace_info.probe_cluster_min_probes,
cluster.pace_info.probe_cluster_min_bytes);
- LOG(LS_INFO) << "Probe cluster (bitrate:min bytes:min packets): ("
+ std::stringstream ss;
+ ss << "Probe cluster (id:bitrate:min bytes:min packets): ("
+ << cluster.pace_info.probe_cluster_id << ":"
+ << cluster.pace_info.send_bitrate_bps << ":"
+ << cluster.pace_info.probe_cluster_min_bytes << ":"
+ << cluster.pace_info.probe_cluster_min_probes << ")";
+ Print("%s", ss.str().c_str());
+ LOG(LS_INFO) << "Probe cluster (id:bitrate:min bytes:min packets): ("
+ << cluster.pace_info.probe_cluster_id << ":"
<< cluster.pace_info.send_bitrate_bps << ":"
<< cluster.pace_info.probe_cluster_min_bytes << ":"
<< cluster.pace_info.probe_cluster_min_probes << ")";
« no previous file with comments | « webrtc/modules/pacing/alr_detector.cc ('k') | webrtc/modules/pacing/interval_budget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698