<?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>15593</bug_id>
          
          <creation_ts>2012-01-17 11:26:28 +0000</creation_ts>
          <short_desc>Update PeerConnection functionality associated to adding/removing MediaStreams</short_desc>
          <delta_ts>2012-05-21 12:30:40 +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>WebRTC API</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="Stefan Hakansson LK">stefan.lk.hakansson</reporter>
          <assigned_to name="Adam Bergkvist">adam.bergkvist</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>fluffy</cc>
    
    <cc>fluffy</cc>
    
    <cc>harald</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62805</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2012-01-17 11:26:28 +0000</bug_when>
    <thetext>The current spec is not up to date in this respect. The MediaStream object at the receiving PeerConnection should be created immediately (with all tracks muted) as a result of signaling and not as a result of that RTP-packets are being received.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62889</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2012-01-19 08:53:11 +0000</bug_when>
    <thetext>Assigned to me. (I should have been part of a previous edit I did.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66770</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2012-04-17 17:16:05 +0000</bug_when>
    <thetext>Note - I think removing MediaStreamTracks from a MediaStream should NOT change the index of other MediaStreamTracks on the MediaStream.

Having them change creates a need for the other end of the PeerConnection to get the change signalled across to them, which may take time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67882</commentid>
    <comment_count>3</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2012-05-18 14:59:39 +0000</bug_when>
    <thetext>Any update on where we are with this one ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67960</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2012-05-21 12:30:40 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Any update on where we are with this one ?

This has been fixed. 

https://github.com/fluffy/webrtc-w3c/commit/5777d833e43a3eebd2a909ba52423da664a9a10d

https://github.com/fluffy/webrtc-w3c/commit/b1bdbbdb0a20ece3f37f295b2f6dc64477564a1a

(In reply to comment #2)
&gt; Note - I think removing MediaStreamTracks from a MediaStream should NOT change
&gt; the index of other MediaStreamTracks on the MediaStream.
&gt; 
&gt; Having them change creates a need for the other end of the PeerConnection to
&gt; get the change signalled across to them, which may take time.

This should go into a bug of its own.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>