chromium/third_party/blink/renderer/modules/webcodecs/encoded_video_chunk_output_callback.idl

// Copyright 2021 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

// Handles a new encoded video chunk on the consumer side of the video encoder.
callback EncodedVideoChunkOutputCallback =
  void (EncodedVideoChunk chunk, optional EncodedVideoChunkMetadata metadata = {});