答复: Constraints and Capabilities API for getUserMedia: more detailed proposal

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] 
发送时间: 2012年3月29日 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 UTC