Re: Bug 23935 - Proposal: New syntax for constraints

On 13 December 2013 15:25, cowwoc <cowwoc@bbs.darktech.org> wrote:
> var properties = { width: resolution.width, height: resolution.height,
> frameRate: 20 }; // specific values that the device must support (ranges are
> not accepted)
> getUserMedia(properties, onSuccess, onFailure);

That doesn't play well with others.  How do you propose to handle the
case where multiple sites (or even scripts in the same page) want to
access the device at the same time?

Received on Saturday, 14 December 2013 00:46:33 UTC