W3C home > Mailing lists > Public > public-media-capture@w3.org > March 2012

: Constraints and Capabilities API for getUserMedia: more detailed proposal

From: Li Li <Li.NJ.Li@huawei.com>
Date: Thu, 29 Mar 2012 01:55:49 +0000
To: Soo-Hyun Choi <s.choi@hackerslab.eu>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-id: <B60F8F444AAC9C49A9EF0D12D05E094221677D94@szxeml535-mbs.china.huawei.com>
Thanks for bringing this up. I hope application should be able to discover cameras and select which ones to use, as it is not uncommon for mobile devices to have two cameras these days.
If this ability is not supported, then there is also a gap between getCapabilities(), which return multiple cameras, and getUserMedia(), which can't select them.

Li


-----ʼԭ-----
: Soo-Hyun Choi [mailto:s.choi@hackerslab.eu] 
ʱ: 2012329 8:28
ռ: Li Li
: public-media-capture@w3.org
: Re: Constraints and Capabilities API for getUserMedia: more detailed proposal

All,

On Wed, Mar 28, 2012 at 11:32, Li Li <Li.NJ.Li@huawei.com> wrote:
> If the getCapabilities() returns multiple devices (e.g. camera001,
> camera002), I wonder how navigator.getUserMedia() is able to select which
> device to use. Do we have to say: camera001.getUserMedia(), or somehow
> designate the target device in the argument?
>

As I've raised the similar issue earlier regarding this
(http://lists.w3.org/Archives/Public/public-media-capture/2012Mar/0015.html),
this sort of choosing multiple cameras should better to be considered.


Best regards,
Soo-Hyun
Received on Thursday, 29 March 2012 01:56:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:14:59 GMT