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

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