ISSUE-105: Should the capture hint in HTML Media Capture be specified through a MIME parameter?

captureHint

Should the capture hint in HTML Media Capture be specified through a MIME parameter?

State:
CLOSED
Product:
Capture API
Raised by:
Dominique Hazaël-Massieux
Opened on:
2010-11-18
Description:
As of November 2010, the HTML Media Capture spec uses a parameter in the description of the MIME type of the accept attribute:
http://dev.w3.org/2009/dap/camera/#captureparam

It's been argued that this is a hack, and might be fragile
http://lists.w3.org/Archives/Public/public-device-apis/2010Nov/0056.html

An alternative that was suggested early on was to use an additional attribute in the <input> element.

Android currently ships with the MIME parameter.
Related Actions Items:
Related emails:
  1. RE: Agenda - Distributed Meeting 25 April 2012 (from travis.leithead@microsoft.com on 2012-04-25)
  2. Agenda - Distributed Meeting 25 April 2012 (from Frederick.Hirsch@nokia.com on 2012-04-25)
  3. Agenda - Distributed Meeting 2011-06-08 (from Frederick.Hirsch@nokia.com on 2011-06-07)
  4. RE: Agenda - Distributed Meeting 2011-06-01 (from niklas.widell@ericsson.com on 2011-06-01)
  5. RE: Agenda - Distributed Meeting 2011-06-01 (from Claes1.Nilsson@sonyericsson.com on 2011-06-01)
  6. Agenda - Distributed Meeting 2011-06-01 (from Frederick.Hirsch@nokia.com on 2011-05-31)
  7. Re: Agenda - Distributed Meeting 2011-05-25 (from schitturi@rim.com on 2011-05-25)
  8. Re: Regrets, was RE: Agenda - Distributed Meeting 2011-05-25 (from jmorris@cdt.org on 2011-05-25)
  9. RE: Agenda - Distributed Meeting 2011-05-25 (from Claes1.Nilsson@sonyericsson.com on 2011-05-25)
  10. Regrets, was RE: Agenda - Distributed Meeting 2011-05-25 (from niklas.widell@ericsson.com on 2011-05-25)
  11. Agenda - Distributed Meeting 2011-05-25 (from Frederick.Hirsch@nokia.com on 2011-05-23)
  12. Agenda - Distributed Meeting 2011-05-11 (from dom@w3.org on 2011-05-11)
  13. 2009/dap/camera Overview.html,1.118,1.119 (from cvsmail@w3.org on 2011-04-06)
  14. R: Agenda - Distributed Meeting 2010-12-01 (from marco.marengo@telecomitalia.it on 2010-12-01)
  15. RE: Agenda - Distributed Meeting 2010-12-01 (from jmorris@cdt.org on 2010-12-01)
  16. RE: Agenda - Distributed Meeting 2010-12-01 (from niklas.widell@ericsson.com on 2010-12-01)
  17. Agenda - Distributed Meeting 2010-12-01 (from Frederick.Hirsch@nokia.com on 2010-11-30)
  18. Re: CfC: Last Call for HTML Media Capture; deadline Dec 1st (from andreip@google.com on 2010-11-19)
  19. 2009/dap/camera Overview.html,1.117,1.118 (from cvsmail@w3.org on 2010-11-19)
  20. Re: CfC: Last Call for HTML Media Capture; deadline Dec 1st (from dom@w3.org on 2010-11-18)
  21. ISSUE-105 (captureHint): Should the capture hint in HTML Media Capture be specified through a MIME parameter? [Capture API] (from sysbot+tracker@w3.org on 2010-11-18)

Related notes:

See previous discussions on this
http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0106.html
http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0158.html
http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0222.html
http://lists.w3.org/Archives/Public/public-device-apis/2010Jun/0223.html

re Android implementation:
"We did think about adding an attribute but considered that the source
param is nicer because of the same reason as the one Arun mentioned."

Arun's reasons being "Minimizing attributes is nice; I don't think this is overloading. Rather, by including @accept in the first place, we may have all that we need."

(but Arun later took the view that this parameter wasn't perhaps not necessary)

Dominique Hazaël-Massieux, 18 Nov 2010, 13:46:51

Latest suggestion: use the role attribute to indicate the intent of getting media from capture device rather than filesystem.

Dominique Hazaël-Massieux, 17 Dec 2010, 08:00:31

See also thread on this issue in public-html: http://lists.w3.org/Archives/Public/public-html/2011Apr/thread.html#msg472

Dominique Hazaël-Massieux, 12 May 2011, 09:56:30

[fjh]: waiting for implementers

4 Nov 2011, 23:03:33

Display change log ATOM feed


Anssi Kostiainen <anssi.kostiainen@intel.com>, Reilly Grant <reillyg@google.com>, Chairs, Fuqiao Xue <xfq@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 105.html,v 1.1 2019/11/08 08:57:43 carcone Exp $