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}
diff --git a/rtc_base/asyncpacketsocket.h b/rtc_base/asyncpacketsocket.h
index 2ffacfe..ca59afb 100644
--- a/rtc_base/asyncpacketsocket.h
+++ b/rtc_base/asyncpacketsocket.h
@@ -42,7 +42,9 @@
~PacketOptions();
DiffServCodePoint dscp = DSCP_NO_CHANGE;
- int packet_id = -1; // 16 bits, -1 represents "not set".
+ // When used with RTP packets (for example, webrtc::PacketOptions), the value
+ // should be 16 bits. A value of -1 represents "not set".
+ int64_t packet_id = -1;
PacketTimeUpdateParams packet_time_params;
// PacketInfo is passed to SentPacket when signaling this packet is sent.
PacketInfo info_signaled_after_sent;