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

Unified Diff: webrtc/modules/remote_bitrate_estimator/send_time_history.cc

Issue 2005313003: Propagate probing cluster id to SendTimeHistory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Test probe_cluster_id in PacketRouterTest. Created 4 years, 7 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/remote_bitrate_estimator/send_time_history.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/send_time_history.cc b/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
index a58d12a1600d3744818b486a0cfc1911b82a3e5d..674028e9c8df504c87cb39be6fbfad0b28064ce0 100644
--- a/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
+++ b/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
@@ -28,15 +28,17 @@ void SendTimeHistory::Clear() {
void SendTimeHistory::AddAndRemoveOld(uint16_t sequence_number,
size_t length,
- bool was_paced) {
+ bool was_paced,
+ int probe_cluster_id) {
EraseOld();
if (history_.empty())
oldest_sequence_number_ = sequence_number;
history_.insert(std::pair<uint16_t, PacketInfo>(
- sequence_number, PacketInfo(clock_->TimeInMilliseconds(), 0, -1,
- sequence_number, length, was_paced)));
+ sequence_number,
+ PacketInfo(clock_->TimeInMilliseconds(), 0, -1, sequence_number, length,
+ was_paced, probe_cluster_id)));
}
bool SendTimeHistory::OnSentPacket(uint16_t sequence_number,

Powered by Google App Engine
This is Rietveld 408576698