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

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

Issue 150403006: [PPAPI][MediaStream] Support configure for video input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 6 years, 10 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
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. 9 * This interface is still in development (Dev API status) and may change.
10 */ 10 */
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 * @param[in] video_track A <code>PP_Resource</code> corresponding to a video 88 * @param[in] video_track A <code>PP_Resource</code> corresponding to a video
89 * resource. 89 * resource.
90 * @param[in] attrib_list A list of attribute name-value pairs in which each 90 * @param[in] attrib_list A list of attribute name-value pairs in which each
91 * attribute is immediately followed by the corresponding desired value. 91 * attribute is immediately followed by the corresponding desired value.
92 * The list is terminated by 92 * The list is terminated by
93 * <code>PP_MEDIASTREAMVIDEOTRACK_ATTRIB_NONE</code>. 93 * <code>PP_MEDIASTREAMVIDEOTRACK_ATTRIB_NONE</code>.
94 * @param[in] callback <code>PP_CompletionCallback</code> to be called upon 94 * @param[in] callback <code>PP_CompletionCallback</code> to be called upon
95 * completion of <code>Configure()</code>. 95 * completion of <code>Configure()</code>.
96 * 96 *
97 * @return An int32_t containing a result code from <code>pp_errors.h</code>. 97 * @return An int32_t containing a result code from <code>pp_errors.h</code>.
98 * Returns <code>PP_ERROR_INPROGRESS</code> if there is a pending call of
99 * <code>Configure()</code> or <code>GetFrame()</code>, or the plugin
100 * holds some frames which are not recycled with <code>RecycleFrame()</code>.
98 */ 101 */
99 int32_t Configure([in] PP_Resource video_track, 102 int32_t Configure([in] PP_Resource video_track,
100 [in] int32_t[] attrib_list, 103 [in] int32_t[] attrib_list,
101 [in] PP_CompletionCallback callback); 104 [in] PP_CompletionCallback callback);
102 105
103 /** 106 /**
104 * Gets attribute value for a given attribute name. 107 * Gets attribute value for a given attribute name.
105 * 108 *
106 * @param[in] video_track A <code>PP_Resource</code> corresponding to a video 109 * @param[in] video_track A <code>PP_Resource</code> corresponding to a video
107 * resource. 110 * resource.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 /** 187 /**
185 * Closes the MediaStream video track and disconnects it from video source. 188 * Closes the MediaStream video track and disconnects it from video source.
186 * After calling <code>Close()</code>, no new frames will be received. 189 * After calling <code>Close()</code>, no new frames will be received.
187 * 190 *
188 * @param[in] video_track A <code>PP_Resource</code> corresponding to a 191 * @param[in] video_track A <code>PP_Resource</code> corresponding to a
189 * MediaStream video track resource. 192 * MediaStream video track resource.
190 */ 193 */
191 void Close([in] PP_Resource video_track); 194 void Close([in] PP_Resource video_track);
192 }; 195 };
193 196
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698