Extend packet_id to 64 bits in SentPacket and PacketOptions to support QUIC

packet numbers.

Bug: webrtc:9103
Change-Id: Iff85a9523b2890254c295d1e88b93c2e80ff8e17
Reviewed-on: https://webrtc-review.googlesource.com/72261
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Qingsi Wang <qingsi@webrtc.org>
Commit-Queue: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23043}
This commit is contained in:
Bjorn Mellem
2018-04-25 13:24:48 -07:00
committed by Commit Bot
parent 280a31fc30
commit 3a9c46d5ff
3 changed files with 10 additions and 6 deletions

View File

@ -158,10 +158,12 @@ struct PacketInfo {
struct SentPacket {
SentPacket();
SentPacket(int packet_id, int64_t send_time_ms);
SentPacket(int packet_id, int64_t send_time_ms, const rtc::PacketInfo& info);
SentPacket(int64_t packet_id, int64_t send_time_ms);
SentPacket(int64_t packet_id,
int64_t send_time_ms,
const rtc::PacketInfo& info);
int packet_id = -1;
int64_t packet_id = -1;
int64_t send_time_ms = -1;
rtc::PacketInfo info;
};