<?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>25249</bug_id>
          
          <creation_ts>2014-04-03 16:26:21 +0000</creation_ts>
          <short_desc>Source should be detached when a MediaStreamTrack stops for any reason other than stop</short_desc>
          <delta_ts>2014-05-08 08:27:11 +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>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="Kiran">kiran.guduru</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103361</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-04-03 16:26:21 +0000</bug_when>
    <thetext>In section 4.3.1 of [1]

When track ends for any reason other than stop, the steps should add the following step after the specified (3) steps, just like that for a stop method.

4. Detach track&apos;s source.


[1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103649</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-04-10 06:36:34 +0000</bug_when>
    <thetext>This seem right to me. We need to detach the source to give a possibly unused source the possibility to stop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103650</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-04-10 06:52:48 +0000</bug_when>
    <thetext>Proposed fix: https://github.com/fluffy/webrtc-w3c/commit/761c7f4e5199a9ca67489b9ca34b004e0b04d711</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105412</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-05-08 08:27:11 +0000</bug_when>
    <thetext>Fixed in http://dev.w3.org/2011/webrtc/editor/archives/20140507/getusermedia.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>