This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-buffered 2. Return TimeRanges for the media segments buffered. It's not clear if a new object should be returned or if the same object should be returned each time. If the same object is returned, it must be clearly stated that the object is live, similar to a HTMLCollection. HTMLMediaElement.buffered always returns a new object, see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-buffered
To be perfectly clear, I think that MSE should also return a new object on each property read.
(In reply to comment #0) > http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-buffered > > 2. Return TimeRanges for the media segments buffered. > > It's not clear if a new object should be returned or if the same object should > be returned each time. If the same object is returned, it must be clearly > stated that the object is live, similar to a HTMLCollection. > > HTMLMediaElement.buffered always returns a new object, see > http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-media-buffered I intended for it to be a new object every time. How about: "2. Return a new static normalized TimeRanges object for the media segments buffered."
Yes, that sounds good!
Changes committed. http://dvcs.w3.org/hg/html-media/rev/340786fcae83