#include "media/muxers/mp4_muxer.h"
#include <algorithm>
#include <memory>
#include "base/logging.h"
#include "base/time/time.h"
namespace media {
namespace {
constexpr base::TimeDelta kMinimumForcedBlobDuration = …;
}
Mp4Muxer::Mp4Muxer(AudioCodec audio_codec,
bool has_video,
bool has_audio,
std::unique_ptr<Mp4MuxerDelegateInterface> delegate,
std::optional<base::TimeDelta> max_data_output_interval)
: … { … }
Mp4Muxer::~Mp4Muxer() = default;
bool Mp4Muxer::PutFrame(EncodedFrame frame,
base::TimeDelta relative_timestamp) { … }
void Mp4Muxer::MaybeForceFragmentFlush() { … }
bool Mp4Muxer::Flush() { … }
}