Intent to Experiment: MediaStream Image Capture

197 views
Skip to first unread message

Owen

unread,
Sep 23, 2016, 6:39:23 PM9/23/16
to blink-dev, mca...@google.com

Contact emails

mca...@chromium.org, owe...@chromium.org


Spec

https://www.w3.org/TR/image-capture/


Summary

The MediaStream Image Capture API provides sites the ability to build a richer image capture experience that is currently possible. It does this in a number of ways, including allowing sites to setting important characteristics of cameras such as zoom, focus, white balance etc. Additionally it includes actual takePhoto functionality (rather than requiring the developer simply capture a frame of a preview), which provides access to the OS native still image capture capabilities.


Link to “Intent to Implement” blink-dev discussion

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/WYTiG9h8Xbs


Goals for experimentation

We are hoping to receive feedback on the API design from developers


Experimental timeline

Experiment will be available in:

  • Chrome 55 (beta: ~Oct 20, stable: ~Dec 6)

  • Chrome 56

  • Chrome 57


Experiment will be disabled in Chrome 58 (stable: ~Apr 25 2017)


Any risks when the experiment finishes?

None


Ongoing technical constraints

None


Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?

Yes, but they offer different levels of depth when it comes to the get-capabilities/set-options pairs. We plan to continue to expand support over time.


For ease of comprehension:



Android

Mac

Linux/CrOs

Win

takePhoto()

yeah

yeah

yeah

yeah

getCapabilities()

most

nay (N.A.)

some

some

setOptions()

most

nay (N.A.)

some

some

grabFrame()

yeah

yeah

yeah

yeah



OWP launch tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=603328


Link to entry on the feature dashboard

https://www.chromestatus.com/feature/4843864737185792


Owen

unread,
Sep 23, 2016, 6:40:06 PM9/23/16
to blink-dev, mca...@google.com
Friendly reminder that under the current Blink Process, Intent to Experiment's require 3 LGTMs

Philip Jägenstedt

unread,
Sep 26, 2016, 11:42:07 AM9/26/16
to Owen, blink-dev, mca...@google.com
LGTM1

Chris Harrelson

unread,
Sep 26, 2016, 1:02:55 PM9/26/16
to Philip Jägenstedt, Owen, blink-dev, Miguel Casas
LGTM2

LGTM1
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Dimitri

unread,
Sep 27, 2016, 12:17:42 PM9/27/16
to blink-dev, foo...@chromium.org, owe...@chromium.org, mca...@google.com, chri...@chromium.org
LGTM3.

Dan Dascalescu

unread,
Oct 11, 2016, 2:07:15 AM10/11/16
to blink-dev, mca...@google.com
FYI, I've been working on an ImageCapture polyfill - https://github.com/dandv/imagecapture


On Friday, September 23, 2016 at 3:39:23 PM UTC-7, Owen wrote:

owe...@google.com

unread,
Nov 16, 2016, 6:06:13 PM11/16/16
to blink-dev, foo...@chromium.org, owe...@chromium.org, mca...@google.com, chri...@chromium.org
General update that we didn't hit the original timeline, but the code has now landed and will be shipping in 56 (instead of 55 as originally planned). The new timeline is as follows:

Experimental timeline

Experiment will be available in:

  • Chrome 56 (beta: ~Nov 17, stable: ~Jan 31)

  • Chrome 57

  • Chrome 58

Experiment will be disabled in Chrome 59 (stable: ~Jun 6 2017)


On Tuesday, September 27, 2016 at 9:17:42 AM UTC-7, Dimitri wrote:
LGTM3.

Miguel Casas-Sanchez

unread,
Mar 27, 2017, 8:15:46 PM3/27/17
to Owen Campbell-Moore, blink-dev, Philip Jägenstedt, owe...@chromium.org, Chris Harrelson
Hey all,

just sent the results-email for the Origin Trial; I would like to highlight here one of the paragraphs detailing a few changes that the Spec has gone through:

During the TAG Review of the W3C Image Capture Spec (see here), a couple of interop issues were pointed out between the API form and other neighbouring APIs, which culminated with a restructuring of the ways to get/set the photo capabilities/settings (PR).  This happened in parallel to the Origin Trial experiment, so we decided to let it roll through, but didn't want to make too much noise before the end of it.  With the Spec updated in cooperation with Firefox, we have been working in updating the Chrome implementation (bug) and should be ready very soon in M59 Canary. This document has a list of the migrated items.

Reply all
Reply to author
Forward
0 new messages