W3C home > Mailing lists > Public > public-device-apis@w3.org > February 2011

Re: Difference between device element and Media Capture API

From: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 23 Feb 2011 16:10:05 +0100
Message-ID: <4D65234D.7040101@alvestrand.no>
To: Ilkka Oksanen <Ilkka.Oksanen@nokia.com>
CC: ext René Müller <mueller.rene2@web.de>, public-device-apis@w3.org
On 02/22/11 10:02, Ilkka Oksanen wrote:
> Hi René,
>
> 14/02/2011 20:07, ext René Müller wrote:
>> Where is the difference between the device element in the HTML
>> specification, the aims of the Media Capture API and the HTML Media
>> Capture Specification??? Isn´t it all handling the same problem?
> In essence all these specifications are solving the problem of device
> camera and/or microphone access. Difference between them is how that is
> achieved. You can consider HTML Media Capture as a low hanging fruit. It
> is relatively easy for browsers to implement. Likewise very small
> changes are needed to new and existing web services to take it into use.
> HTML Media Capture is meant to be kept as simple as it is now. Device
> element is more of a new concept.
>
> The Media Capture API follows the other JavaScript DAP apis. It gives
> more control to the web developer. New features can be added in the
> future in a straightforward way.
>
> There has been some discussion in DAP regarding the relationship between
> <device>  element and DAP specifications. So far no concrete actions have
> been taken as a result of those discussions.
The RTCWEB effort has a requirement to capture media too, with special 
requirements (such as codec negotiation ability and no more than tens of 
msec from sound to net-packet and net-packet to sound).

Evaluating existing APIs is pretty high on my TODO list for RTCWEB/WEBRTC.

                   Harald
Received on Wednesday, 23 February 2011 15:10:40 GMT

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