W3C home > Mailing lists > Public > public-html-media@w3.org > May 2014

[MSE] Inconsistent error reporting for appendBuffer/appendStream

From: Matthew Gregan <kinetik@flim.org>
Date: Fri, 9 May 2014 15:20:18 +1200
To: public-html-media@w3.org
Message-ID: <20140509032018.GE11435@flim.org>

While looking at the error handling of various types of SourceBuffer
appends, I noticed the observable events when an error occurs in
appendBuffer is as follows:

For buffer full error:

For segment parser loop algorithm errors:
- updatestart -> SourceBuffer
- [endOfStream algorithm runs with error == "decode"]
- sourceended -> MediaSource
- error -> HTMLMediaElement (depending on element's readyState)

And for appendStream is as follows, for stream read or buffer full errors:
- updatestart -> SourceBuffer
- error -> SourceBuffer
- updateend -> SourceBuffer

And the same as appendBuffer for segment parser loop algorithm errors.

Is it intentional that only appendStream uses 3.5.3 Append Error Algorithm?
The error event as described in the event summary doesn't seem to be
specific to streams.

Received on Friday, 9 May 2014 03:20:44 UTC

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