Files
v10/packages/spf
Christian PillsburyandClaude Opus 4.8 6d26e083a5 feat(spf): collapse relocation tiers into shared-min default (spike)
Replace the per-type "Tier 1" / shared-min "Tier 2" split with one default
`deriveSharedMinStartMediaTime`: relocate every track by the `min` across the
selected A/V origins. Subsumes per-type — aligned origins reduce to each type's
own, skewed origins keep every DTS >= 0 while preserving A/V skew, and a single
selected type reduces to its own origin. Returns undefined until all selected
types are discovered (shared-min barrier). `derivePerTypeStartMediaTime` stays
as a barrier-free opt-out.

The loader stamp is now tier-agnostic: `stampStartMediaTime` applies the same
injected `derive` over `mediaContainerData` (not the raw own-origin), async with
an `awaitDefined` holdback and liveness guard. Engines resolve one
`deriveStartMediaTime` and feed it to both the reactor and
`relocationPipelinesFor(type, derive)` so model and buffer agree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:37:10 -07:00
..
2026-05-19 12:48:40 -07:00

@videojs/spf

package-badge

⚠️ 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:

License

Apache-2.0