This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In spec getUserMedia constraints is allowed to set Nullable [1]. but in step 4, The process is invoking errorCallBack with NotSupportedError, if requestedMediaTypes are empty. It seems, requestedMediaTypes of constraints is mandatory to process getUserMedia. I propose to indicate constraints attribute of getUserMedia to be non-nullable. [1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html#dom-navigator-getusermedia
This seems simple, and is consistent with present code. Note that not allowing Null doesn't allow us to remove the language about empty reuestedMediaTypes, because the user can pass {} as a parameter. Assigning for editing.
Proposed (light) patch: https://github.com/fluffy/webrtc-w3c/commit/6da20fcbd689bd33e3132c52261c52fcff464f00