#include "media/muxers/mp4_box_writer.h"
#include <string_view>
#include "base/big_endian.h"
#include "media/muxers/box_byte_stream.h"
#include "media/muxers/mp4_muxer_context.h"
#include "media/muxers/output_position_tracker.h"
namespace media {
Mp4BoxWriter::Mp4BoxWriter(const Mp4MuxerContext& context)
: … { … }
Mp4BoxWriter::~Mp4BoxWriter() = default;
size_t Mp4BoxWriter::WriteAndFlush() { … }
size_t Mp4BoxWriter::WriteAndFlush(BoxByteStream& writer) { … }
void Mp4BoxWriter::WriteChildren(BoxByteStream& writer) { … }
void Mp4BoxWriter::AddChildBox(std::unique_ptr<Mp4BoxWriter> box_writer) { … }
}