chromium/third_party/blink/renderer/platform/peerconnection/instrumented_simulcast_adapter.cc

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

#include "third_party/blink/renderer/platform/peerconnection/instrumented_simulcast_adapter.h"

#include "base/numerics/safe_conversions.h"
#include "base/sequence_checker.h"
#include "base/thread_annotations.h"
#include "third_party/blink/renderer/platform/peerconnection/instrumented_video_encoder_wrapper.h"
#include "third_party/blink/renderer/platform/peerconnection/video_encoder_state_observer.h"
#include "third_party/webrtc/api/video_codecs/video_encoder_factory.h"

namespace blink {
class InstrumentedSimulcastAdapter::EncoderFactoryAdapter
    : public webrtc::VideoEncoderFactory {};

std::unique_ptr<InstrumentedSimulcastAdapter>
InstrumentedSimulcastAdapter::Create(
    const webrtc::Environment& env,
    webrtc::VideoEncoderFactory* primary_encoder_factory,
    webrtc::VideoEncoderFactory* secondary_encoder_factory,
    std::unique_ptr<VideoEncoderStateObserver> encoder_state_observer,
    const webrtc::SdpVideoFormat& format) {}

InstrumentedSimulcastAdapter::~InstrumentedSimulcastAdapter() {}

InstrumentedSimulcastAdapter::InstrumentedSimulcastAdapter(
    const webrtc::Environment& env,
    std::unique_ptr<EncoderFactoryAdapter> primary_factory_adapter,
    std::unique_ptr<EncoderFactoryAdapter> secondary_factory_adapter,
    std::unique_ptr<VideoEncoderStateObserver> encoder_state_observer,
    const webrtc::SdpVideoFormat& format)
    :{}
}  // namespace blink