- From: Li Li <Li.NJ.Li@huawei.com>
- Date: Wed, 28 Mar 2012 02:32:27 +0000
- To: "public-media-capture@w3.org" <public-media-capture@w3.org>
Received on Wednesday, 28 March 2012 02:33:54 UTC
Example:
navigator.getUserMedia(
{mandatory:[video-min-height:600, video-max-bandwidth:500],
optional:[
video-max-aspectratio:1.333333333333,
video-min-timebetweenrefframes:20,
video-min-framerate:30,
video-autowhitebalance:on]},
gotStream, didntGetStream);
===
Capabilities
===
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?
Thanks.
Li
Received on Wednesday, 28 March 2012 02:33:54 UTC