// Copyright 2020 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 VideoEncoderInit {
// Called whenever there is a new encoded video chunk available.
required EncodedVideoChunkOutputCallback output;
// Called when there is a decoding error.
required WebCodecsErrorCallback error;
};