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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>158799</bug_id>
          
          <creation_ts>2016-06-15 10:54:44 -0700</creation_ts>
          <short_desc>gUM crashes when creating a MediaStream with only an audio or only a video MediaStreamTrack</short_desc>
          <delta_ts>2016-11-10 17:15:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Other</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=43239</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="George Ruan">gruan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1202628</commentid>
    <comment_count>0</comment_count>
    <who name="George Ruan">gruan</who>
    <bug_when>2016-06-15 10:54:44 -0700</bug_when>
    <thetext>http://www.w3.org/TR/mediacapture-streams/#methods-5

Currently, the implementation of gUM expects
- The parameter to gUM to have both audio and video constraints to have non-falsy values.
- Both a video and audio source to be available.

The implementation crashes since UserMediaRequest::constraintsValidated expects defined parameters audioSource and videoSource.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202629</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-06-15 10:57:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/26817452&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1250070</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2016-11-10 17:15:59 -0800</bug_when>
    <thetext>This turned out to be a bug in unrelated code.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>