mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
context.mediaSource is published only while open (setupMediaSource is the sole writer; cleared on detach), and a non-null live window means the timeline-bearing track is still Infinity-duration, so endOfStream hasn't ended the MS. Present + live window ⟹ open, so the explicit `readyState !== 'open'` guard before setLiveSeekableRange (which throws off-open) is redundant. The "until open" test becomes a publish transition. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>