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

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