<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22211</bug_id>
          
          <creation_ts>2013-05-30 12:06:33 +0000</creation_ts>
          <short_desc>getUserMedia algorithm and unrecognized requestedMediaTypes</short_desc>
          <delta_ts>2013-08-27 08:55:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>harald</cc>
    
    <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88445</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-05-30 12:06:33 +0000</bug_when>
    <thetext>the getUserMedia algorithm doesn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88615</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-06-04 13:15:02 +0000</bug_when>
    <thetext>I think it&apos;s ok to create a stream with no tracks with the MediaStream() constructor, but to get one from getUserMedia() seems more like an error. I agree with dom&apos;s reasoning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92624</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-08-27 08:55:09 +0000</bug_when>
    <thetext>Resolved in 20130824 version of MediaCapture.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>