Remove RtpPacketSendInfo.has_rtp_sequence_number

As far as I can tell, every call site already populates this field, so
we can now remove it.

Bug: webrtc:8975
Change-Id: I58515dd16d4ad8bf8872077b67a67f6e92e7b542
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171222
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30857}
This commit is contained in:
Erik Språng
2020-03-21 12:57:57 +01:00
committed by Commit Bot
parent 7eab0a820f
commit 2028a772df
7 changed files with 1 additions and 8 deletions

View File

@ -227,8 +227,6 @@ struct RtpPacketSendInfo {
uint16_t transport_sequence_number = 0;
uint32_t ssrc = 0;
uint16_t rtp_sequence_number = 0;
// Get rid of this flag when all code paths populate |rtp_sequence_number|.
bool has_rtp_sequence_number = false;
size_t length = 0;
absl::optional<RtpPacketMediaType> packet_type;
PacedPacketInfo pacing_info;