// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/web-codecs
dictionary EncodedAudioChunkInit {
required EncodedAudioChunkType type;
required [EnforceRange] long long timestamp; // microseconds
[EnforceRange] unsigned long long duration; // microseconds
required AllowSharedBufferSource data;
[RuntimeEnabled=MediaSourceExtensionsForWebCodecs] DecryptConfig decryptConfig;
sequence<ArrayBuffer> transfer = [];
};