Adds default values for feedback/allocation indicators.
This is part of a series of CLs that allows GoogCC to track sent bitrate
that is included in bitrate allocation but without transport feedback.
Bug: webrtc:9796
Change-Id: I21b4d1fb72710ee3a101888bb6a0b11e0aea35d8
Reviewed-on: https://webrtc-review.googlesource.com/c/105328
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25119}
diff --git a/rtc_base/socket.h b/rtc_base/socket.h
index 2a3d61d..2520f34 100644
--- a/rtc_base/socket.h
+++ b/rtc_base/socket.h
@@ -145,8 +145,8 @@
PacketInfo(const PacketInfo& info);
~PacketInfo();
- bool included_in_feedback;
- bool included_in_allocation;
+ bool included_in_feedback = false;
+ bool included_in_allocation = false;
PacketType packet_type = PacketType::kUnknown;
PacketInfoProtocolType protocol = PacketInfoProtocolType::kUnknown;
// A unique id assigned by the network manager, and absl::nullopt if not set.