W3C home > Mailing lists > Public > public-media-capture@w3.org > December 2011

Re: User Media Hints

From: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>
Date: Tue, 13 Dec 2011 16:55:57 +0100
Message-ID: <4EE7758D.1040505@ericsson.com>
To: public-media-capture@w3.org
On 12/13/2011 04:46 PM, Rich Tibbett wrote:
> Rich Tibbett wrote:
>> We seem to have lost hints in the getusermedia specification. Was the
>> ability for a developer to provide a hint for a particular camera (the
>> 'user' or 'environment' camera) removed for a reason?
I can't remember a reason; I think it had more to do with lack of time, 
and to do the basics first and then add more.

>> In the
>> string-based options proposal we had the following:
>> e.g. navigator.getUserMedia('video;view=environment', gotMedia);
There have also been audio related hints discussed on the list; e.g. 
"voip" (would use noise suppression and AGC techniques, and code for a 
speech signal) vs. "audio" (would not).
>> Do we have a similar proposal in the object options model? I've included
>> 3 models below that we could adopt and I'd be interested if anyone has a
>> preferred model at this point that we can agree to implement:
>> navigator.getUserMedia({"audio": true, "video": "environment"}, gotMedia);
>> navigator.getUserMedia({"audio": true, "video": {type: "environment"}},
>> gotMedia);
>> navigator.getUserMedia({"audio": true, "video": "environment", "type":
>> "environment"}, gotMedia);
> There's a typo above. The third proposal should read:
> navigator.getUserMedia({"audio": true, "video": true, "type":
> "environment"}, gotMedia);
>> br/ Rich
Received on Tuesday, 13 December 2011 15:56:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:08 UTC