<?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>22338</bug_id>
          
          <creation_ts>2013-06-12 16:53:10 +0000</creation_ts>
          <short_desc>Arbitrary changing of tracks</short_desc>
          <delta_ts>2014-01-07 10:34:39 +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="Martin Thomson">martin.thomson</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>89175</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2013-06-12 16:53:10 +0000</bug_when>
    <thetext>The spec permits a user or user agent to switch between tracks at any time:

Unless and until a new set of constraints is provided, the user agent MAY change its choice of track at any point, provided that 1) the new choice does not violate given user permissions, and 2) it notifies the application code by raising an event.

The event is undefined, but that&apos;s not the concern.  As a user, I don&apos;t want this to happen.  Therefore, as an application developer, I don&apos;t want this to happen.  If this is possible (it sounds like a bad idea to me), there needs to be a way to prevent it from happening.

sourceId constraints are not sufficient.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95934</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2013-11-07 07:24:36 +0000</bug_when>
    <thetext>Proposed change (by Martin T):

OLD:
Unless and until a new set of constraints is provided, the user agent
MAY change its choice of track at any point, provided that 1) the new
choice does not violate given user permissions, and 2) it notifies the
application code by raising an event. It may wish to do this, for
example, if the user interface or network congestion changes. Note
that no such change will have an effect on the presence or absence of
each type of track, merely the contents.

NEW:
Once selected, the source for a MediaStreamTrack MUST NOT change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97742</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-12-17 14:14:57 +0000</bug_when>
    <thetext>Proposed change: https://github.com/fluffy/webrtc-w3c/commit/e1e11e5ffe641b409e9393f4d7e7c770ec406142</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98065</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-01-07 10:34:39 +0000</bug_when>
    <thetext>Fixed in Ed&apos;s draft December 25th 2013: http://dev.w3.org/2011/webrtc/editor/archives/20131225/getusermedia.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>