naiveproxy/services/video_capture/public/interfaces/producer.mojom
2018-02-02 05:49:39 -05:00

16 lines
524 B
Plaintext

// Copyright 2017 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.
module video_capture.mojom;
import "media/mojo/interfaces/media_types.mojom";
// An interface for providing buffer info updates to the producer of
// video frames for the associated |VirtualDevice| interface.
interface Producer {
OnNewBufferHandle(int32 buffer_id, handle<shared_buffer> buffer_handle)
=> ();
OnBufferRetired(int32 buffer_id);
};