#include "cast/streaming/impl/frame_collector.h"
#include <algorithm>
#include <limits>
#include <numeric>
#include "cast/streaming/public/frame_id.h"
#include "cast/streaming/impl/rtp_defines.h"
#include "platform/base/span.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
namespace {
constexpr int kUnknownNumberOfPackets = …;
}
FrameCollector::FrameCollector()
: … { … }
FrameCollector::~FrameCollector() = default;
bool FrameCollector::CollectRtpPacket(const RtpPacketParser::ParseResult& part,
std::vector<uint8_t>* buffer) { … }
void FrameCollector::GetMissingPackets(std::vector<PacketNack>* nacks) const { … }
const EncryptedFrame& FrameCollector::PeekAtAssembledFrame() { … }
void FrameCollector::Reset() { … }
FrameCollector::PayloadChunk::PayloadChunk() = default;
FrameCollector::PayloadChunk::~PayloadChunk() = default;
}