// 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; | |
}; |