From 45e413c3f5439c167d11a20f7a455f3e74dccd63 Mon Sep 17 00:00:00 2001 From: Karishma Chadha <kchadha@scratch.mit.edu> Date: Mon, 30 Apr 2018 16:23:48 -0400 Subject: [PATCH] Remove old comments referencing VM. --- src/lib/video/video-provider.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/video/video-provider.js b/src/lib/video/video-provider.js index 84b69e72e..dffe4716f 100644 --- a/src/lib/video/video-provider.js +++ b/src/lib/video/video-provider.js @@ -71,9 +71,7 @@ class VideoProvider { /** * Request video be enabled. Sets up video, creates video skin and enables preview. * - * ioDevices.video.requestVideo() - * - * @return {Promise.<Video>} resolves a promise to this IO device when video is ready. + * @return {Promise.<Video>} resolves a promise to this video provider when video is ready. */ enableVideo () { this.enabled = true; @@ -116,8 +114,7 @@ class VideoProvider { * * @param {object} frameInfo A descriptor of the frame you would like to receive. * @param {Array.<number>} frameInfo.dimensions [width, height] array of numbers. Defaults to [480,360] - * @param {boolean} frameInfo.mirror If you specificly want a mirror/non-mirror frame, defaults to the global - * mirror state (ioDevices.video.mirror) + * @param {boolean} frameInfo.mirror If you specificly want a mirror/non-mirror frame, defaults to true * @param {string} frameInfo.format Requested video format, available formats are 'image-data' and 'canvas'. * @param {number} frameInfo.cacheTimeout Will reuse previous image data if the time since capture is less than * the cacheTimeout. Defaults to 16ms. -- GitLab