Skip to content

Commit

Permalink
Replace references to MediaStreamTrack.getSources() with enumerateDev…
Browse files Browse the repository at this point in the history
…ices() in PPAPI.

MediaStreamTrack.getSources is scheduled for removal in M56.

BUG=388194

Review-Url: https://codereview.chromium.org/2474673002
Cr-Commit-Position: refs/heads/master@{#429361}
  • Loading branch information
guidou authored and Commit bot committed Nov 2, 2016
1 parent 6761c70 commit 8730a98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ppapi/api/private/ppb_camera_device_private.idl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ interface PPB_CameraDevice_Private {
* @param[in] camera_device A <code>PP_Resource</code> corresponding to a
* camera device resource.
* @param[in] device_id A <code>PP_Var</code> identifying a camera device. The
* type is string. The ID can be obtained from MediaStreamTrack.getSources()
* or MediaStreamVideoTrack.id.
* type is string. The ID can be obtained from
* navigator.mediaDevices.enumerateDevices() or MediaStreamVideoTrack.id.
* @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
* completion of <code>Open()</code>.
*
Expand Down
6 changes: 3 additions & 3 deletions ppapi/c/private/ppb_camera_device_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

/* From private/ppb_camera_device_private.idl,
* modified Fri Feb 20 13:48:52 2015.
* modified Wed Nov 2 15:54:24 2016.
*/

#ifndef PPAPI_C_PRIVATE_PPB_CAMERA_DEVICE_PRIVATE_H_
Expand Down Expand Up @@ -68,8 +68,8 @@ struct PPB_CameraDevice_Private_0_1 {
* @param[in] camera_device A <code>PP_Resource</code> corresponding to a
* camera device resource.
* @param[in] device_id A <code>PP_Var</code> identifying a camera device. The
* type is string. The ID can be obtained from MediaStreamTrack.getSources()
* or MediaStreamVideoTrack.id.
* type is string. The ID can be obtained from
* navigator.mediaDevices.enumerateDevices() or MediaStreamVideoTrack.id.
* @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
* completion of <code>Open()</code>.
*
Expand Down
2 changes: 1 addition & 1 deletion ppapi/cpp/private/camera_device_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CameraDevice_Private : public Resource {
///
/// @param[in] device_id A <code>Var</code> identifying a camera
/// device. The type is string. The ID can be obtained from
/// MediaStreamTrack.getSources() or MediaStreamVideoTrack.id.
/// navigator.mediaDevices.enumerateDevices() or MediaStreamVideoTrack.id.
/// @param[in] callback A <code>CompletionCallback</code> to be called upon
/// completion of <code>Open()</code>.
///
Expand Down

0 comments on commit 8730a98

Please sign in to comment.