w3c / media-source

Media Source Extensions
https://w3c.github.io/media-source/
Other
267 stars 57 forks source link

gaps in how endOfStream method fits with everything else #220

Open jpiesing opened 5 years ago

jpiesing commented 5 years ago

I've been looking at what is supposed to happen when a piece of content is played right to the end and believe there are two related issues with how this is defined.

  1. There is no reference to the endOfStream method having been called in the description of the SourceBuffer Monitoring algorithm. IMHO even if a call to endOfStream would disable this algorithm then there should be a reference to that in the description of the algorithm.

  2. Step 3.2 of the end of stream algorithm is "Notify the media element that it now has all of the media data.". I would have expected this to be a reference to some language in the HTML spec but it isn't and I can't see suitable language for it to reference. Addressing this may need changes to both the MSE and HTML specs.

JohnRiv commented 3 years ago

Noting that this is of interest to CTA WAVE

wolenetz commented 3 years ago

This looks to me like a spec bugfix in scope for V2.