Always record receive timestamps even on when the invalid flag is set.
This change is based on a discussion for integrating a new statistic that measures the delay between the first frame being received and the first frame being decoded. To enable this in the context of FrameEncryption it makes sense for packet receive timestamps to be unconditionally recorded. Bug: webrtc:10105 Change-Id: I6b3b0118121db1fe5d4a4fb16cf5d94341cd2b1b Reviewed-on: https://webrtc-review.googlesource.com/c/113487 Commit-Queue: Benjamin Wright <benwright@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25931}
This commit is contained in:
committed by
Commit Bot
parent
d1d7b23f89
commit
3f10ca8145
@ -99,11 +99,10 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
|
||||
timing_.network2_timestamp_ms =
|
||||
ntp_time_ms_ +
|
||||
last_packet->video_header.video_timing.network2_timestamp_delta_ms;
|
||||
|
||||
timing_.receive_start_ms = first_packet->receive_time_ms;
|
||||
timing_.receive_finish_ms = last_packet->receive_time_ms;
|
||||
}
|
||||
timing_.flags = last_packet->video_header.video_timing.flags;
|
||||
timing_.receive_start_ms = first_packet->receive_time_ms;
|
||||
timing_.receive_finish_ms = last_packet->receive_time_ms;
|
||||
is_last_spatial_layer = last_packet->markerBit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user