#include "modules/congestion_controller/rtp/transport_feedback_adapter.h"
#include <stdlib.h>
#include <algorithm>
#include <cmath>
#include <utility>
#include "absl/algorithm/container.h"
#include "api/units/timestamp.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
namespace webrtc {
constexpr TimeDelta kSendTimeHistoryWindow = …;
void InFlightBytesTracker::AddInFlightPacketBytes(
const PacketFeedback& packet) { … }
void InFlightBytesTracker::RemoveInFlightPacketBytes(
const PacketFeedback& packet) { … }
DataSize InFlightBytesTracker::GetOutstandingData(
const rtc::NetworkRoute& network_route) const { … }
bool InFlightBytesTracker::NetworkRouteComparator::operator()(
const rtc::NetworkRoute& a,
const rtc::NetworkRoute& b) const { … }
TransportFeedbackAdapter::TransportFeedbackAdapter() = default;
void TransportFeedbackAdapter::AddPacket(const RtpPacketSendInfo& packet_info,
size_t overhead_bytes,
Timestamp creation_time) { … }
absl::optional<SentPacket> TransportFeedbackAdapter::ProcessSentPacket(
const rtc::SentPacket& sent_packet) { … }
absl::optional<TransportPacketsFeedback>
TransportFeedbackAdapter::ProcessTransportFeedback(
const rtcp::TransportFeedback& feedback,
Timestamp feedback_receive_time) { … }
void TransportFeedbackAdapter::SetNetworkRoute(
const rtc::NetworkRoute& network_route) { … }
DataSize TransportFeedbackAdapter::GetOutstandingData() const { … }
std::vector<PacketResult>
TransportFeedbackAdapter::ProcessTransportFeedbackInner(
const rtcp::TransportFeedback& feedback,
Timestamp feedback_receive_time) { … }
}