Skip to content

Handle empty ranges in the buffered getters - #387

Open
JinDX wants to merge 1 commit into
w3c:mainfrom
JinDX:fix/media-source-buffered-empty-ranges
Open

JinDX wants to merge 1 commit into
w3c:mainfrom
JinDX:fix/media-source-buffered-empty-ranges

Conversation

@JinDX

@JinDX JinDX commented Nov 14, 2026 •

Copy link
Copy Markdown

A newly active buffer can have no time ranges. Handle the empty collection before taking a maximum and only extend a track or buffer's last range when one exists.


Preview | Diff

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant