[media-source] Clarify that endOfStream() before HAVE_METADATA should trigger HTMLMediaElement dedicated media source failure steps (#240)

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

== Clarify that endOfStream() before HAVE_METADATA should trigger HTMLMediaElement dedicated media source failure steps  ==
If HTMLMediaElement.readyState is still HAVE_NOTHING when its attached MediaSource has endOfStream() executed with no error parameter, the MSE spec is unclear other than it should run the duration change algorithm (implicitly with duration 0) and "Notify the media element that it now has all of the media data."

In Chrome, interpretation of this state in HTMLMediaElement is that this corresponds to a resource load failure, and MEDIA_ERR_SRC_NOT_SUPPORTED paths follow from the "dedicated media source failure steps", since MSE duration alone is deemed insufficient to reach HAVE_METADATA.


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

Received on Thursday, 26 September 2019 20:03:33 UTC