Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: ppapi/api/ppb_media_stream_video_track.idl

Issue 212023003: PPAPI: Bring PPB_MediaStream*Track to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/ppb_media_stream_audio_track.idl ('k') | ppapi/api/ppb_video_frame.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * Defines the <code>PPB_MediaStreamVideoTrack</code> interface. Used for 7 * Defines the <code>PPB_MediaStreamVideoTrack</code> interface. Used for
8 * receiving video frames from a MediaStream video track in the browser. 8 * receiving video frames from a MediaStream video track in the browser.
9 * This interface is still in development (Dev API status) and may change.
10 */ 9 */
11 10
12 [generate_thunk] 11 [generate_thunk]
13 12
14 label Chrome { 13 label Chrome {
15 [channel=dev] M34 = 0.1 14 [channel=dev] M34 = 0.1,
15 M35 = 0.1
16 }; 16 };
17 17
18 /** 18 /**
19 * This enumeration contains video track attributes which are used by 19 * This enumeration contains video track attributes which are used by
20 * <code>Configure()</code>. 20 * <code>Configure()</code>.
21 */ 21 */
22 enum PP_MediaStreamVideoTrack_Attrib { 22 enum PP_MediaStreamVideoTrack_Attrib {
23 /** 23 /**
24 * Attribute list terminator. 24 * Attribute list terminator.
25 */ 25 */
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 * a <code>PP_VideoFrame_Format</code>. If the specified format is different 64 * a <code>PP_VideoFrame_Format</code>. If the specified format is different
65 * from the video source (webcam), frames will be converted to specified 65 * from the video source (webcam), frames will be converted to specified
66 * format. 66 * format.
67 * If this attribute is not specified or value 67 * If this attribute is not specified or value
68 * <code>PP_VIDEOFRAME_FORMAT_UNKNOWN</code> is specified, the orignal frame 68 * <code>PP_VIDEOFRAME_FORMAT_UNKNOWN</code> is specified, the orignal frame
69 * format of the video track will be used. 69 * format of the video track will be used.
70 */ 70 */
71 PP_MEDIASTREAMVIDEOTRACK_ATTRIB_FORMAT = 4 71 PP_MEDIASTREAMVIDEOTRACK_ATTRIB_FORMAT = 4
72 }; 72 };
73 73
74 [version=0.1]
74 interface PPB_MediaStreamVideoTrack { 75 interface PPB_MediaStreamVideoTrack {
75 /** 76 /**
76 * Determines if a resource is a MediaStream video track resource. 77 * Determines if a resource is a MediaStream video track resource.
77 * 78 *
78 * @param[in] resource The <code>PP_Resource</code> to test. 79 * @param[in] resource The <code>PP_Resource</code> to test.
79 * 80 *
80 * @return A <code>PP_Bool</code> with <code>PP_TRUE</code> if the given 81 * @return A <code>PP_Bool</code> with <code>PP_TRUE</code> if the given
81 * resource is a Mediastream video track resource or <code>PP_FALSE</code> 82 * resource is a Mediastream video track resource or <code>PP_FALSE</code>
82 * otherwise. 83 * otherwise.
83 */ 84 */
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 /** 206 /**
206 * Closes the MediaStream video track and disconnects it from video source. 207 * Closes the MediaStream video track and disconnects it from video source.
207 * After calling <code>Close()</code>, no new frames will be received. 208 * After calling <code>Close()</code>, no new frames will be received.
208 * 209 *
209 * @param[in] video_track A <code>PP_Resource</code> corresponding to a 210 * @param[in] video_track A <code>PP_Resource</code> corresponding to a
210 * MediaStream video track resource. 211 * MediaStream video track resource.
211 */ 212 */
212 void Close([in] PP_Resource video_track); 213 void Close([in] PP_Resource video_track);
213 }; 214 };
214 215
OLDNEW
« no previous file with comments | « ppapi/api/ppb_media_stream_audio_track.idl ('k') | ppapi/api/ppb_video_frame.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698