OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module video_capture.mojom; | |
6 | |
7 import "media/capture/mojo/video_capture_types.mojom"; | |
8 import "services/video_capture/public/interfaces/video_capture_settings.mojom"; | |
9 import "services/video_capture/public/interfaces/video_frame_receiver.mojom"; | |
10 | |
11 // Represents access to a video capture device available on the machine. | |
12 // Note: Instead of offering an explicit Stop() method, the device | |
13 // is stopped automatically when the message pipe corresponding to either the | |
14 // VideoCaptureDeviceProxy or the given VideoFrameReceiver is closed. | |
15 // The frames deliverd to |receiver| are guaranteed to use I420 encoding and | |
16 // are backed by Mojo shared buffers. | |
17 interface VideoCaptureDeviceProxy { | |
18 Start(VideoCaptureSettings requested_settings, | |
19 VideoFrameReceiver receiver); | |
20 }; | |
OLD | NEW |