<?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>27984</bug_id>
          
          <creation_ts>2015-02-09 09:03:55 +0000</creation_ts>
          <short_desc>Should attach the media element to the MediaStream object</short_desc>
          <delta_ts>2015-02-09 09:03:55 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Qin Jiajia">jiajia.qin</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117759</commentid>
    <comment_count>0</comment_count>
    <who name="Qin Jiajia">jiajia.qin</who>
    <bug_when>2015-02-09 09:03:55 +0000</bug_when>
    <thetext>In http://w3c.github.io/mediacapture-main/#loading-and-playing-a-mediastream-in-a-media-element, it says &apos;When the MediaStream state moves from the active to the inactive state, the User Agent MUST raise an ended event on the media element and set its ended attribute to true.&apos; But currently, there is no directly relationship between mediastream and media element. In mediastream, we can control active to inactive and trigger the &apos;inactive&apos; event. But we can&apos;t raise an ended event on the media element. Should we add the &apos;attach to element algorithm&apos; like mediasource does? (http://w3c.github.io/media-source/#mediasource-attach )</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>