#include "components/cast_streaming/browser/frame/mirroring_decoder_buffer_factory.h"
#include <algorithm>
#include "base/logging.h"
#include "components/cast_streaming/common/public/features.h"
#include "media/base/decoder_buffer.h"
#include "media/base/media_util.h"
#include "third_party/openscreen/src/cast/streaming/encoded_frame.h"
namespace cast_streaming {
MirroringDecoderBufferFactory::MirroringDecoderBufferFactory(
int receiver_rtp_timebase,
base::TimeDelta frame_duration)
: … { … }
MirroringDecoderBufferFactory::~MirroringDecoderBufferFactory() = default;
scoped_refptr<media::DecoderBuffer>
MirroringDecoderBufferFactory::ToDecoderBuffer(
const openscreen::cast::EncodedFrame& encoded_frame,
FrameContents& frame_contents) { … }
}