blob: 4155ad67944e63340bef14f2ad6305b1f8c40c87 [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// 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 VideoEncoderOutputCallback output;
// Called when there is a decoding error.
required WebCodecsErrorCallback error;
};