W3C home > Mailing lists > Public > public-html-media@w3.org > November 2015

[media-source] More flexible error handling

From: David LaPalomento via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Nov 2015 23:43:35 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-114936628-1446594214-sysbot+gh@w3.org>
dmlap has just created a new issue for 
https://github.com/w3c/media-source:

== More flexible error handling ==
It may be possible for app developers to transparently handle decode 
errors when the source material is available from redundant sources or
 at different quality levels. Currently, the append error algorithm 
dictates that the [end of stream algorithm is 
invoked](https://w3c.github.io/media-source/#sourcebuffer-append-error)
 unconditionally on decode errors. This triggers an error on the 
HTMLMediaElement and updates its state to indicate a fatal condition. 
Ideally, the app developer would have some opportunity to intercept 
decode errors,  prevent this condition from propagating to the Media 
Element, and provide alternate content at some point in the future. 
Maybe something as simple as `Event.preventDefault()`?

See https://github.com/w3c/media-source/issues/36
Received on Tuesday, 3 November 2015 23:43:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 3 November 2015 23:43:38 UTC