<?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>28857</bug_id>
          
          <creation_ts>2015-06-26 17:21:30 +0000</creation_ts>
          <short_desc>[MSE] Support attachment (and inspection) of MediaSource to HTMLMediaElement via HTMLMediaElement.srcObject</short_desc>
          <delta_ts>2015-10-13 23:16:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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="Matt Wolenetz">wolenetz</reporter>
          <assigned_to name="Matt Wolenetz">wolenetz</assigned_to>
          <cc>ddorwin</cc>
    
    <cc>jdsmith</cc>
    
    <cc>mike</cc>
    
    <cc>Paul.Cotton</cc>
    
    <cc>public-html-media</cc>
    
    <cc>watsonm</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      <flag name="needinfo"
          id="51"
          type_id="3"
          status="?"
          setter="wolenetz"
          requestee="watsonm"
    />
    <flag name="needinfo"
          id="52"
          type_id="3"
          status="?"
          setter="wolenetz"
          requestee="Paul.Cotton"
    />
    <flag name="needinfo"
          id="53"
          type_id="3"
          status="?"
          setter="wolenetz"
          requestee="jdsmith"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121489</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-06-26 17:21:30 +0000</bug_when>
    <thetext>A long time ago, there was some discussion [1] and a bug [2] about supporting srcObject (and deprecating createObjectURL) usage for MSE.

Since HTML 5.1 appears to now include HTMLME.srcObject [3], and MSE has not yet reached Proposed Rec. stage, the time seems ripe to both:
1) Implement srcObject per HTML 5.1 in HTMLMediaElement
2) Deprecate usage in MSE spec of createObjectURL() as mechanism for attaching MediaSource to HTMLMediaElement, in favor of new spec text mentioning srcObject as the preferred mechanism.

MSE attachment (and retrieval via) srcObject, among other possible benefits, would allow extension-free debugging using Chrome devtools (for example) of MSE players. Currently, there&apos;s no &quot;easy&quot; way of getting the MediaSource object in a devtools session to debug it. Simply $(&apos;video&apos;).srcObject would be cool :)

[1] https://lists.w3.org/Archives/Public/public-html-media/2013Nov/0004.html
[2] https://www.w3.org/Bugs/Public/show_bug.cgi?id=23775
[3] http://www.w3.org/html/wg/drafts/html/master/semantics.html#dom-media-srcobject</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121490</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-06-26 17:27:05 +0000</bug_when>
    <thetext>philipj@opera.com also provided some indication of how the spec update might be accomplished:

&quot;The HTML spec to target when implementing srcObject is https://html.spec.whatwg.org/#dom-media-srcobject. It would be nice if http://w3c.github.io/media-source/ could simply refer to the latest versions of all of its references, including the File API. You can see in https://github.com/w3c/webvtt/ how I arranged things to have different references for different versions of the WebVTT spec.&quot;

Paul/Jerry/Mark: would adding .srcObject support be something that would change the API so much to require a re-entry into CR process for the MSE spec? If not, would including deprecation of the HTMLME.src=createObjectURL(mediaSourceObject) MSE attachment mechanism trigger the need for the re-entry into CR process?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123701</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-10-13 23:16:38 +0000</bug_when>
    <thetext>This bug has been migrated to the GitHub issue tracker. Please follow/update progress using the GitHub issue:
https://github.com/w3c/media-source/issues/28

Paul/Jerry/Mark: Please see the information requested in https://www.w3.org/Bugs/Public/show_bug.cgi?id=28857#c1 and reply on the GitHub issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>