Remove unnecessary conversions.

`receive_timestamp` is already a `Timestamp`.

Bug: None
Change-Id: I334c6d591915115f3a577ac14183fc122517c313
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227080
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Fanny Linderborg <linderborg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34582}
This commit is contained in:
Fanny Linderborg 2021-07-27 19:58:31 +00:00 committed by WebRTC LUCI CQ
parent 5219c6f7ad
commit 481698e6f5

View File

@ -2166,8 +2166,7 @@ std::vector<LoggedPacketInfo> ParsedRtcEventLog::GetPacketInfos(
if (packet.received()) {
receive_timestamp += TimeDelta::Micros(packet.delta_us());
if (sent->reported_recv_time.IsInfinite()) {
sent->reported_recv_time =
Timestamp::Millis(receive_timestamp.ms());
sent->reported_recv_time = receive_timestamp;
sent->log_feedback_time = log_feedback_time;
}
} else {