mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
The reload loop's try/catch wrapped the while, so a single fetch/parse failure (e.g. a transient "TypeError: Failed to fetch", a CDN blip) ended the loop — the live playlist would stop refreshing and playback would eventually stall at the last-known window. Move the try inside the loop: on a non-abort error, log and retry on the next cadence; only abort (source change / destroy) exits. Adds a fake-timer test asserting the loop retries after a rejected fetch and resolves on the next attempt. Verified against a live Mux CMAF stream (window keeps advancing). 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: