chromium/third_party/openscreen/src/cast/streaming/impl/frame_collector.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Integer constant representing that the number of packets is not yet known.
constexpr int kUnknownNumberOfPackets =;

}  // namespace

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;

}  // namespace openscreen::cast