- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 17 Dec 2009 05:13:17 +0000 (UTC)
- To: "Tran, Dzung D" <dzung.d.tran@intel.com>
- Cc: "public-device-apis@w3.org" <public-device-apis@w3.org>
On Wed, 16 Dec 2009, Tran, Dzung D wrote:
> >> How do you envision your work integrate with Device API WG's current
> >> spec? Is there some hand off between your <device> selector and
> >> Device API? Or not?
> >
> > Which spec did you have in mind?
>
> I was thinking of the current work with the Capture APIs as:
> http://dev.w3.org/2009/dap/camera/
Oh I assumed that this API was for the widget case -- in HTML4, you can
already do static image capture and non-streaming video or audio capture,
using <image type=file accept=...>. It's not widely supported yet, but
HTML5 elaborated a little on the idea and from talking with browser
vendors I wouldn't be surprised to see it implemented in the near future.
> I think in one of the example from Andrei Popescu you could handle the
> non-streaming capture as:
>
> <device type="mediaFile" onchange="update(this.data)">
>
> function update(file) { // file is an object that implements interface File
> }
This seems redundant with existing features. I'd be very reluctant to
introduce multiple ways to do things.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 17 December 2009 05:13:54 UTC