Closed
Bug 1131134
Opened 9 years ago
Closed 6 years ago
SourceBuffer.buffered should only return a new object when the buffered time ranges change
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1150305
People
(Reporter: bzbarsky, Unassigned)
Details
See spec change at https://github.com/w3c/media-source/commit/7a495fe29540835d0e219d3d52f3041f556a1f7d We can keep returning a new object every time and just mark the attribute as [Cached], clearing the cache whenever the thing changes.
Comment 1•9 years ago
|
||
I have implemented buffered range cache in bug 1125581. which does exactly that (it's still a new object, but with the same content)
Reporter | ||
Comment 2•9 years ago
|
||
That's quite different from what this bug is about. This bug is about when the calling JS sees object identity change. It should only see it change when the actual time range data changes.
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 3•6 years ago
|
||
Mass closing do to inactivity. Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Reporter | ||
Comment 4•6 years ago
|
||
This is a spec bug. We do in fact need to fix this.
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Comment 5•6 years ago
|
||
I thought this had been done in bug https://bugzilla.mozilla.org/show_bug.cgi?id=1150305
Reporter | ||
Comment 6•6 years ago
|
||
Yes, looks like it. Thank you for the pointer.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•