[Bug 22211] New: getUserMedia algorithm and unrecognized requestedMediaTypes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22211

            Bug ID: 22211
           Summary: getUserMedia algorithm and unrecognized
                    requestedMediaTypes
    Classification: Unclassified
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: dom@w3.org
                CC: public-media-capture@w3.org

the getUserMedia algorithm doesn't explicitly abort if none of the
requestedMediaTypes in the constraints dictionary are recognized (or likewise
if constraints is the empty dictionary).

The current algorithm implies that the successcallback should be triggered with
a MediaStream with no tracks — is that really what we want?

from what I can tell, it used to be that a not supported exception was to be
thrown; I think it probably ought to invoke the error callback with a not
supported error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Thursday, 30 May 2013 12:06:38 UTC