Re: PROPOSAL: Simple image capture API

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