<?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>22226</bug_id>
          
          <creation_ts>2013-05-31 09:08:48 +0000</creation_ts>
          <short_desc>Remove check of same source from MediaStream constructor algorithm</short_desc>
          <delta_ts>2013-10-17 11:31:37 +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="Stefan Hakansson LK">stefan.lk.hakansson</reporter>
          <assigned_to name="Adam Bergkvist">adam.bergkvist</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>88506</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2013-05-31 09:08:48 +0000</bug_when>
    <thetext>Sub step 2 in &apos;for each MediaStreamTrack&apos; says

&quot;If track has ended or if there is already a MediaStreamTrack contained within stream that has the same underlying source as track, then abort these steps and continue with the next track (if any).&quot;

Denying the possibility to have more than one track with the same source in a MediaStream made sense back in the days when source and track where more or less the same thing.

With the development where several tracks can be associated with the same source, and ask for different operation modes this does not make sense any more. Rather, it is limiting - having several tracks representing the same source in one MediaStream can enable e.g. simulcast (by applying different constraints).

I think we should remove &quot;or if there is already a MediaStreamTrack contained within stream that has the same underlying source as track,&quot; from sub step 2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89052</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-06-11 08:27:00 +0000</bug_when>
    <thetext>I think this makes sense now when we have constraints.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89156</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-06-12 09:42:37 +0000</bug_when>
    <thetext>Let&apos;s Just Do This. Assignign to dburnett for editing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94230</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-10-03 14:29:23 +0000</bug_when>
    <thetext>Proposed change:
https://github.com/fluffy/webrtc-w3c/commit/5724d5660679364ce0c5c98acd56a3d6d92d676b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94887</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-10-17 11:31:37 +0000</bug_when>
    <thetext>Fixed in Editor&apos;s draft v20131017</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>