#include "media/cast/encoding/video_encoder.h"
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "media/base/video_encoder_metrics_provider.h"
#include "media/cast/encoding/encoding_support.h"
#include "media/cast/encoding/external_video_encoder.h"
#include "media/cast/encoding/video_encoder_impl.h"
namespace media::cast {
std::unique_ptr<VideoEncoder> VideoEncoder::Create(
const scoped_refptr<CastEnvironment>& cast_environment,
const FrameSenderConfig& video_config,
std::unique_ptr<VideoEncoderMetricsProvider> metrics_provider,
StatusChangeCallback status_change_cb,
const CreateVideoEncodeAcceleratorCallback& create_vea_cb) { … }
std::unique_ptr<VideoFrameFactory> VideoEncoder::CreateVideoFrameFactory() { … }
void VideoEncoder::EmitFrames() { … }
}