[media-source] Allow optional "ID" to be associated with appendBuffer operations

wolenetz has just created a new issue for https://github.com/w3c/media-source:

== Allow optional "ID" to be associated with appendBuffer operations ==
Consider the apparently common case (as reported in discussions during 2017 FOMS/Demuxed conferences) where an MSE web app receives some kind of error from the media element or MSE API, but would like to know more details about which specific appendBuffer operation the error arose from later in processing. For instance, a decode error associated with an append of chunk "A" could perhaps have that "A" exposed in the MediaError and/or via some MSE-specific query.
This allows other non-error cases, such as potentially servicing queries like "from which appendBuffer call is the currently composited frame?", and providing more easily understandable debug error messages in implementations, such as in chrome://media-internals in Chromium.

Please view or discuss this issue at https://github.com/w3c/media-source/issues/181 using your GitHub account

Received on Thursday, 1 June 2017 18:56:37 UTC