Calculate min and max receive timestamps for packets in a video frame

Bug: webrtc:10106
Change-Id: I1d3469abb1e7bb7c91a5912d7b781505526abaca
Reviewed-on: https://webrtc-review.googlesource.com/c/113507
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25935}
This commit is contained in:
Ilya Nikolaevskiy
2018-12-07 16:26:56 +01:00
committed by Commit Bot
parent 48a79465ec
commit 4348ce240a
6 changed files with 23 additions and 14 deletions

View File

@ -29,7 +29,8 @@ class RtpFrameObject : public EncodedFrame {
uint16_t last_seq_num,
size_t frame_size,
int times_nacked,
int64_t received_time);
int64_t first_packet_received_time,
int64_t last_packet_received_time);
~RtpFrameObject() override;
uint16_t first_seq_num() const;
@ -53,7 +54,7 @@ class RtpFrameObject : public EncodedFrame {
VideoCodecType codec_type_;
uint16_t first_seq_num_;
uint16_t last_seq_num_;
int64_t received_time_;
int64_t last_packet_received_time_;
// Equal to times nacked of the packet with the highet times nacked
// belonging to this frame.