W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2014

Re: [Bug 25725] New: getUserMedia constraints should be non-nullable

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Thu, 15 May 2014 21:46:36 -0400
Message-ID: <53756DFC.4020507@mozilla.com>
To: Harald Alvestrand <harald@alvestrand.no>, kiran.guduru@samsung.com
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 5/15/14 10:02 AM, Harald Alvestrand wrote:
> Aha - thanks - then the issue is that the spec is not self-consistent.
> We certainly have to fix that; I think the expectation was that 
> getUserMedia() with no parameters would return an audio + video 
> stream, but that doesn't seem to have been turned into spec language.

Yes, good catch Kiran.

I think having to type { video:true, audio:true } over null is a small 
hardship for the increase in clarity - I find the default useful but 
highly unintuitive - so I vote for non-nullable.

>> Samsung Enterprise Portal mySingle
>> Parameter 	Type 	Nullable 	Optional 	Description
>> constraints 	||MediaStreamConstraints| 
>> <http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStreamConstraints>| 
>> 	✔ 	✘

On a document side-note: don't these tables take up a lot of room for 
little value? Description seems to be the only thing that is not 
repetition from the webidl (and is absent to boot).

.: Jan-Ivar :.
Received on Friday, 16 May 2014 01:47:01 UTC

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