<?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>22222</bug_id>
          
          <creation_ts>2013-05-30 21:17:42 +0000</creation_ts>
          <short_desc>Impossible to bind manually created MediaStream to getUserMedia</short_desc>
          <delta_ts>2014-04-01 13:14:04 +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>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="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>harald</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>88470</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-05-30 21:17:42 +0000</bug_when>
    <thetext>From what I recall, the constructors for VideoStreamTrack and AudioStreamTrack were defined so that one could build a MediaStream out of them, and then request permission via getUserMedia.

That notion is still vaguely mentioned in the spec:
&quot;Those actions only happen after the developer has requested that a media stream containing &quot;new&quot; tracks be bound to a source via getUserMedia(). Until that point tracks are inert.&quot;

But getUserMedia doesn&apos;t currently offer a way to get consent for such a manually constructed MediaStream.

We need either to define it, or we should remove the constructors (or at least explain why they can be used for and how).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88501</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2013-05-31 07:23:43 +0000</bug_when>
    <thetext>My view is that we should define how to bind manually created MediaStream to getUserMedia. It is valuable in a WebRTC context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91982</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-08-13 12:41:04 +0000</bug_when>
    <thetext>My view is that we should remove the constructors until a complete use case and solution (with explanations of how to handle the corner cases) is constructed and proposed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100958</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-02-20 13:28:59 +0000</bug_when>
    <thetext>There has been no activity looking into this. I agree to Harald, let&apos;s remove the constructors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103222</commentid>
    <comment_count>4</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-04-01 13:14:04 +0000</bug_when>
    <thetext>In the latest Editor&apos;s draft the constructors are removed.

Closing the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>