W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2009

RE: Where do Audio/Video parameters go?

From: Tran, Dzung D <dzung.d.tran@intel.com>
Date: Mon, 14 Dec 2009 09:47:57 -0800
To: Max Froumentin <maxfro@opera.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <753F67ADE6F5094C9F1DBA00D1BAA8D312CB5422A6@orsmsx501.amr.corp.intel.com>
I thought only audio and video codecs are in the System Info & Events. But you are right, it totally escape me that there are some HW related items in there.

I think the idea below is workable for now until someone has some other suggestion.
> One way is to have:
> - hardware and software capabilities (all read-only): system-info. 
> Includes codecs, connectected speakers, microphones, etc.
>
> - capture: select which camera to use, select zoom level, capture()
>
> - playback: covered by HTML.

Thanks
Dzung Tran

-----Original Message-----
From: Max Froumentin [mailto:maxfro@opera.com] 
Sent: Monday, December 14, 2009 04:13 AM
To: Tran, Dzung D
Cc: public-device-apis@w3.org
Subject: Re: Where do Audio/Video parameters go?

On 11/12/2009 23:04, Tran, Dzung D wrote:
> They should go in Capture. This is why I did not put it in the System Info.

Yet, you have Audio and Video in Sysinfo [1,2]. Which shows that there 
is necessarily an arbitrary separation needed: you don't want zoom 
control in System-info, and you don't want loudspeaker/headphone 
information in Capture.

One way is to have:
- hardware and software capabilities (all read-only): system-info. 
Includes codecs, connectected speakers, microphones, etc.

- capture: select which camera to use, select zoom level, capture()

- playback: covered by HTML.

Still, having to use SysInfo to query the cameras connected and Capture 
to select which to use isn't great. And where do you put functions to 
select which loud-speaker to use?


[1] 
http://dev.w3.org/cvsweb/~checkout~/2009/dap/system-info/Overview.html?rev=1.6&content-type=text/html;%20charset=iso-8859-1#audio


[2] 
http://dev.w3.org/cvsweb/~checkout~/2009/dap/system-info/Overview.html?rev=1.6&content-type=text/html;%20charset=iso-8859-1#video



Max.

Received on Monday, 14 December 2009 17:48:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:03 GMT