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

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

From: Harald Alvestrand <harald@alvestrand.no>
Date: Fri, 16 May 2014 07:42:58 +0200
Message-ID: <5375A562.7020704@alvestrand.no>
To: public-media-capture@w3.org
On 05/16/2014 03:46 AM, Jan-Ivar Bruaroey wrote:
> 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).

Check the source; I don't know if they're actually present or whether
ReSpec generates them.
They seem to be traditional (and I personally find them useless, but
that may be just me).

-- 
Surveillance is pervasive. Go Dark.
Received on Friday, 16 May 2014 05:43:27 UTC

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