chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_decoder_fallback_recorder.h

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

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_PEERCONNECTION_RTC_VIDEO_DECODER_FALLBACK_RECORDER_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_PEERCONNECTION_RTC_VIDEO_DECODER_FALLBACK_RECORDER_H_

#include "media/base/video_codecs.h"
#include "third_party/blink/renderer/platform/platform_export.h"

namespace blink {

// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
enum class RTCVideoDecoderFallbackReason {};

void RecordRTCVideoDecoderFallbackReason(
    media::VideoCodec codec,
    RTCVideoDecoderFallbackReason fallback_reason);

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_PEERCONNECTION_RTC_VIDEO_DECODER_FALLBACK_RECORDER_H_