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

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

Issue 2086633002: Revert of Remove audio/video distinction for probe packets. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 2784df62040f46582b7718ec1f16272ddd76dcb5..674028e9c8df504c87cb39be6fbfad0b28064ce0 100644
--- a/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
+++ b/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
@@ -28,6 +28,7 @@
void SendTimeHistory::AddAndRemoveOld(uint16_t sequence_number,
size_t length,
+ bool was_paced,
int probe_cluster_id) {
EraseOld();
@@ -35,8 +36,9 @@
oldest_sequence_number_ = sequence_number;
history_.insert(std::pair<uint16_t, PacketInfo>(
- sequence_number, PacketInfo(clock_->TimeInMilliseconds(), 0, -1,
- sequence_number, length, probe_cluster_id)));
+ 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