[media-capture][LC] HTML Media Capture Comments

Hi, folks-

Thanks for putting this spec together.  Overall, it looks good, and I'm 
eager to have this functionality added to the Open Web Platform.

The Audio WG needs microphone access for the Web Audio API, and we may 
use a similar security model for our MIDI device access spec. I have 
notified the Audio WG about your LC, and you may get some comments from 
them.

I have a few questions and comments about the spec (which I have not 
discussed yet with the Audio WG).

== Status ==
What is the current implementation status of this? Can I use it anywhere 
yet?


== Video and Audio ==
http://www.w3.org/TR/2012/WD-html-media-capture-20120712/#attributes

The 'camcorder' keyword value may conflate video and audio; I can 
credibly see a use-case for video-only capture, and user expectation may 
be ambiguous if that's not called out explicitly when they are selecting 
their input (e.g. they may be unpleasantly surprised when they accept a 
video source and their audio is also captured).

The user may also wish to select a different microphone input than is 
bundled with the videocamera.

I suggest that the value of @capture should be a list of strings, not 
just a single value, i.e.
  <input type="file" accept="image/*" capture="camcorder,microphone">

This may result in a pair of source selections, sequentially selecting 
first the videocamera input, then the microphone input (or, depending on 
the UA and device, might have both in the same dialog... either way, it 
should be explicit).


== More Examples ==
http://www.w3.org/TR/2012/WD-html-media-capture-20120712/#examples

I like the example of camera access; I think that makes usage clear to 
developers.

I would like also like to see an example of microphone access, and an 
example of camcorder+audio input.


== Attribute Value Keywords ==
http://www.w3.org/TR/2012/WD-html-media-capture-20120712/#attributes

Why 'camcorder' instead of 'videocamera'? I think 'videocamera' would be 
more intuitive for non-native speakers.

Regards-
-Doug


On 7/12/12 3:30 PM, Robin Berjon wrote:
> Hi all,
>
> the Device APIs WG has transitioned HTML Media Capture to Last Call,
> and the document has been published at:
>
> http://www.w3.org/TR/2012/WD-html-media-capture-20120712/
>
> Feedback is welcome from all parties to DAP's list:
> public-device-apis@w3.org. The LC review period ends on 09 August
> 2012. There are currently no known patent exclusions, the list of
> which is maintained at
> http://www.w3.org/2004/01/pp-impl/43696/status. The group expects to
> maintain a list of issues as soon as they start coming in, the URI
> for it will be posted to our mailing list.
>
> We are particularly interested in comments from the HTML WG, and are
> happy to move the end of the review period if needed (though the spec
> being extremely small and simple, we don't anticipate it to require
> much time).
>
> Thanks all!
>

Received on Thursday, 12 July 2012 20:48:51 UTC