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

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

Issue 2708873003: Propagate packet pacing information to SendTimeHistory. (Closed)
Patch Set: . Created 3 years, 10 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 71380fc06b1d4c6f388100fa064e566b20d12a89..6bcc2157303d855b2712e68e9dfa5cc5c0e35340 100644
--- a/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
+++ b/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
@@ -27,7 +27,7 @@ void SendTimeHistory::Clear() {
void SendTimeHistory::AddAndRemoveOld(uint16_t sequence_number,
size_t payload_size,
- int probe_cluster_id) {
+ const PacedPacketInfo& pacing_info) {
int64_t now_ms = clock_->TimeInMilliseconds();
// Remove old.
while (!history_.empty() &&
@@ -45,7 +45,7 @@ void SendTimeHistory::AddAndRemoveOld(uint16_t sequence_number,
history_.insert(std::make_pair(
unwrapped_seq_num,
PacketInfo(creation_time_ms, kNoArrivalTimeMs, kNoSendTimeMs,
- sequence_number, payload_size, probe_cluster_id)));
+ sequence_number, payload_size, pacing_info)));
nisse-webrtc 2017/02/22 12:37:47 And this is where pacing_info stops? Where is the
philipel 2017/02/22 13:11:26 When we receive feedback the TransportFeedbackAdap
}
bool SendTimeHistory::OnSentPacket(uint16_t sequence_number,

Powered by Google App Engine
This is Rietveld 408576698