| 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 4cc7a7c1c20c5a009757ae1f5e27742448b6e0f0..ea1ccaa99b69572190091cd4c839d746456dabe2 100644
|
| --- a/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
|
| +++ b/webrtc/modules/remote_bitrate_estimator/send_time_history.cc
|
| @@ -41,9 +41,16 @@ bool SendTimeHistory::OnSentPacket(uint16_t sequence_number,
|
| int64_t send_time_ms) {
|
| int64_t unwrapped_seq_num = seq_num_unwrapper_.Unwrap(sequence_number);
|
| auto it = history_.find(unwrapped_seq_num);
|
| - if (it == history_.end())
|
| + if (it == history_.end()) {
|
| + Print("No history for %u", sequence_number);
|
| return false;
|
| + }
|
| it->second.send_time_ms = send_time_ms;
|
| + int cluster_id = it->second.pacing_info.probe_cluster_id;
|
| + if (cluster_id > -1) {
|
| + Print("Sent packet %u of size %lu for probe cluster %d", sequence_number,
|
| + it->second.payload_size, cluster_id);
|
| + }
|
| return true;
|
| }
|
|
|
|
|