chromium/third_party/blink/renderer/modules/media_capabilities/media_decoding_configuration.idl

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

// https://wicg.github.io/media-capabilities/#enumdef-mediadecodingtype

enum MediaDecodingType {
    "file",
    "media-source",
    "webrtc",
};

// https://wicg.github.io/media-capabilities/#dictdef-mediadecodingconfiguration

dictionary MediaDecodingConfiguration : MediaConfiguration {
    required MediaDecodingType type;
    MediaCapabilitiesKeySystemConfiguration keySystemConfiguration;
};