w3c / media-source

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

Incorrect reference to "highest end time" in a non-normative note #163

Closed wolenetz closed 7 years ago

wolenetz commented 7 years ago

Current text:

If the readyState attribute is "ended" and the new playback position is within a TimeRange currently in HTMLMediaElement.buffered, then the seek operation must continue to completion here even if one or more currently selected or enabled track buffers has a highest end timestamp less than new playback position. This condition should only occur due to logic in buffered when readyState is "ended".

"highest end timestamp" links to the track buffer definition, which is specifically used in the coded frame processing algorithm and is relevant only to the currently in-process coded frame group, not the entire track buffer. The quoted non-normative note, however, really means to reference the "largest range end timestamp".

I believe this is a simple change and I'll produce a PR shortly to fix it.