W3C home > Mailing lists > Public > public-html-media@w3.org > August 2012

[Bug 18622] New: endOfStream("decode") when HTMLMediaElement.readyState == HAVE_NOTHING

From: <bugzilla@jessica.w3.org>
Date: Mon, 20 Aug 2012 12:48:21 +0000
To: public-html-media@w3.org
Message-ID: <bug-18622-5436@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18622

           Summary: endOfStream("decode") when HTMLMediaElement.readyState
                    == HAVE_NOTHING
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
        AssignedTo: adrianba@microsoft.com
        ReportedBy: philipj@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org


http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-endofstream

The MSE spec unconditionally invokes the "If the media data is corrupted"
section of the HTML spec. Before readyState has reached HAVE_METADATA, it would
be more in line with how e.g. HTTP resources work to invoke "If the media data
can be fetched but is found by inspection to be in an unsupported format, or
can otherwise not be rendered at all."

At least in Opera, network errors are treated differently depending on
readyState, so jumping straight into "If the media data is corrupted" when
readyState is HAVE_METADATA would requiring special-casing MSE.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 20 August 2012 12:48:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:25 UTC