[Bug 28857] New: [MSE] Support attachment (and inspection) of MediaSource to HTMLMediaElement via HTMLMediaElement.srcObject

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28857

            Bug ID: 28857
           Summary: [MSE] Support attachment (and inspection) of
                    MediaSource to HTMLMediaElement via
                    HTMLMediaElement.srcObject
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: wolenetz@google.com
          Reporter: wolenetz@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: jdsmith@microsoft.com, mike@w3.org,
                    public-html-media@w3.org

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's no "easy" way of getting the MediaSource object in
a devtools session to debug it. Simply $('video').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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 26 June 2015 17:21:34 UTC