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}
This commit is contained in:
Sebastian Jansson 2018-10-11 14:54:17 +02:00 committed by Commit Bot
parent fb226af64d
commit 8b3cc4982f

View File

@ -145,8 +145,8 @@ struct PacketInfo {
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.