Adds flags indicating presence in allocation and feedback per packet.
This CL adds flags to the PacketOptions and PacktInfo struct that are intended to be used to indicate if the packet belongs to a media stream that is part of bitrate allocation as well as if it is included in transport wide packet feedback. 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: Icdf3e1e13d3f119574ee1b2c574f2d3329a7e303 Reviewed-on: https://webrtc-review.googlesource.com/c/104920 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25069}
This commit is contained in:
committed by
Commit Bot
parent
30e2d6ee00
commit
0378997db3
@ -145,6 +145,8 @@ struct PacketInfo {
|
||||
PacketInfo(const PacketInfo& info);
|
||||
~PacketInfo();
|
||||
|
||||
bool included_in_feedback;
|
||||
bool included_in_allocation;
|
||||
PacketType packet_type = PacketType::kUnknown;
|
||||
PacketInfoProtocolType protocol = PacketInfoProtocolType::kUnknown;
|
||||
// A unique id assigned by the network manager, and absl::nullopt if not set.
|
||||
|
||||
Reference in New Issue
Block a user