Logging clarification for inter_arrival_delta.

Bug: b/250447844
Change-Id: I2a19f0a5c3fb58139ee1b07c47867bc0a1b49da6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/278627
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38344}
This commit is contained in:
Rasmus Brandt
2022-10-11 09:31:57 +02:00
committed by WebRTC LUCI CQ
parent 3d60893117
commit 8c8b5c3f82
2 changed files with 4 additions and 4 deletions

View File

@ -71,9 +71,9 @@ bool InterArrivalDelta::ComputeDeltas(Timestamp send_time,
++num_consecutive_reordered_packets_;
if (num_consecutive_reordered_packets_ >= kReorderedResetThreshold) {
RTC_LOG(LS_WARNING)
<< "Packets between send burst arrived out of order, resetting."
<< " arrival_time_delta" << arrival_time_delta->ms()
<< " send time delta " << send_time_delta->ms();
<< "Packets between send burst arrived out of order, resetting:"
<< " arrival_time_delta_ms=" << arrival_time_delta->ms()
<< ", send_time_delta_ms=" << send_time_delta->ms();
Reset();
}
return false;

View File

@ -42,7 +42,7 @@ class InterArrivalDelta {
// `arrival_time` is the time at which the packet arrived.
// `packet_size` is the size of the packet.
// `timestamp_delta` (output) is the computed send time delta.
// `arrival_time_delta_ms` (output) is the computed arrival-time delta.
// `arrival_time_delta` (output) is the computed arrival-time delta.
// `packet_size_delta` (output) is the computed size delta.
bool ComputeDeltas(Timestamp send_time,
Timestamp arrival_time,