You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The engine now publishes how far ahead it has buffered as a new value on engine.clock, on the same axis as sourceTime, so you can draw a buffer bar on the scrub bar directly:
player.clock.$bufferedPosition // source-axis position buffered ahead of the playhead
// e.g. buffer-bar fill fraction:
letfill=duration>0?player.bufferedPosition/duration:0
Per playback path:
Native AVPlayer (HLS / direct): end of the contiguous loadedTimeRanges span covering the playhead, folded onto the source axis.
Software (dav1d / libavcodec): the newest demuxed source PTS, i.e. how far ahead bytes have been fetched and demuxed from the remote source. This is the one that matters for the large / remote sources you mentioned.
It ticks on engine.clock (the off-the-engine ~10 Hz surface), so observing it for a buffer bar won't re-render your track lists or menus.
Activity
feat(clock): expose bufferedPosition for scrub-bar buffer indicators (#…
Merge: bufferedPosition clock surface for scrub-bar buffer indicators (…
chore(release): 3.12.0 — bufferedPosition clock surface (#54)
superuser404notfound commentedon Jun 21, 2026
Shipped in 3.12.0.
The engine now publishes how far ahead it has buffered as a new value on
engine.clock, on the same axis assourceTime, so you can draw a buffer bar on the scrub bar directly:Per playback path:
loadedTimeRangesspan covering the playhead, folded onto the source axis.It ticks on
engine.clock(the off-the-engine ~10 Hz surface), so observing it for a buffer bar won't re-render your track lists or menus.Release notes: https://github.com/superuser404notfound/AetherEngine/releases/tag/3.12.0
Thanks for the request!
superuser404notfound commentedon Jun 21, 2026
Implemented in 3.12.0.
feat(swplayback): report the software path's read-ahead and display o…