W3C home > Mailing lists > Public > public-media-capture@w3.org > March 2012

Re: PROPOSAL: Simple image capture API

From: Anant Narayanan <anant@mozilla.com>
Date: Wed, 14 Mar 2012 16:49:26 -0700
Message-Id: <F6BA20AB-AA6B-4EDE-B5B4-3476B1A7A414@mozilla.com>
To: public-media-capture@w3.org
On Mar 14, 2012, at 4:40 PM, Robert O'Callahan wrote:
> I think it would make sense to have VideoMediaStreamTrack (like AudioMediaStreamTrack already), and APIs on video tracks to request setting of various camera parameters (resolution, focus mode, etc) (async of course), and an API to request a snapshot with/without flash and various other parameters set momentarily (also async). The snapshot API should probably trigger a callback passing a Blob which can be used as an <img> source.

This seems to be along the lines of of what Rich suggested earlier in the thread as well.

We've already kicked around the idea of a MediaStreamRecorder to capture snippets of video from a stream, we might need a similar object to capture images from a stream. I'll come up with a rough proposal for these and send them to the list.

Regards,
-Anant
Received on Wednesday, 14 March 2012 23:49:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:09 UTC