mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
Extract `getMinBufferedEnd(buffers)` into media/dom/mse/duration.ts — the pure counterpart to `getMaxBufferedEnd` (max bounds the presentation end for `duration`; min bounds the reachable end when tracks end at slightly different times, e.g. skewed A/V near end-of-stream). `recover-end-stall` now sources its reachable buffered end from `getMinBufferedEnd(mediaSource.sourceBuffers)` — the per-track (video/audio) SourceBuffer ends — instead of the `mediaElement.buffered` aggregate. Functionally equivalent (the aggregate is the intersection) but reads the SourceBuffers directly and shares a named primitive. The `shouldForceEnded` predicate is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@videojs/spf
⚠️ Beta Experimental adoption in real projects.
Overview
@videojs/spf is a lightweight, bundle-size-optimized streaming engine for Video.js 10. It provides
HLS playback with adaptive bitrate switching, WebVTT captions, and MSE support.
Community
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members: