mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
The HLS live-latency bridge was defined inside createSimpleHlsEngine's closure despite capturing nothing — a fresh allocation per engine, and pure HLS logic stranded where it can't be tested. Move it to media/hls/reload-policy.ts as a pure resolveLiveLatency(presentation, trackId) next to liveLatencyFor; the engine injects the import. Adds direct coverage for the bridge (previously only stubbed via seek-to-live-edge's injected resolver). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>