<?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>21606</bug_id>
          
          <creation_ts>2013-04-07 05:53:56 +0000</creation_ts>
          <short_desc>Add direct assignment of MediaStream to media element</short_desc>
          <delta_ts>2013-08-29 13:07:24 +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>
          
          <blocked>23091</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Hakansson LK">stefan.lk.hakansson</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>anssi.kostiainen</cc>
    
    <cc>dom</cc>
    
    <cc>harald</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>roc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85669</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2013-04-07 05:53:56 +0000</bug_when>
    <thetext>Direct assignment using srcObject should be added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88271</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-05-28 08:58:09 +0000</bug_when>
    <thetext>Verifying consensus:

- The Media Capture and Streams spec should add a new component to the HTML media element interface:

partial interface HTMLMediaElement {
  attribute MediaStream? srcObject;
}

- We keep the ObjectURL method for backwards compatibility

Someone (Mozilla, who&apos;s implemented this?) should state what the effect on src is when srcObject is set, and vice versa.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88566</commentid>
    <comment_count>2</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-06-03 10:25:42 +0000</bug_when>
    <thetext>I&apos;m not sure we need to keep createObjectURL if it&apos;s only for backwards compatibility — the legacy doesn&apos;t seem to that big to make it worthwhile.

If the two approaches are complementary, why not having the two, but otherwise, it seems confusing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88569</commentid>
    <comment_count>3</comment_count>
    <who name="Robert O&apos;Callahan (Mozilla)">roc</who>
    <bug_when>2013-06-03 13:00:15 +0000</bug_when>
    <thetext>srcObject takes precedence over other sources (&apos;src&apos; and &lt;source&gt;).

There are use-cases for making srcObject take a Blob and a MediaSource too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90424</commentid>
    <comment_count>4</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-07-08 15:47:57 +0000</bug_when>
    <thetext>Direct assignment has been added to the spec:
http://dev.w3.org/2011/webrtc/editor/getusermedia.html#dom-mediastreamtrack-clone

But with a buggy name for it:
http://lists.w3.org/Archives/Public/public-media-capture/2013Jul/0002.html
on a buggy interface (acknowledged by Adam http://lists.w3.org/Archives/Public/public-media-capture/2013Jul/0004.html )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92686</commentid>
    <comment_count>5</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-08-28 15:38:13 +0000</bug_when>
    <thetext>Fixed in the latest editors draft</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>