Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Handle QuotaExceededError when pushing segments to the SourceBuffer #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peaBerberian
Copy link
Owner

SourceBuffer.prototype.appendBuffer can optionally throw a QuotaExceededError if it has no space left for supplementary segments for the time.

Those errors are relatively rarely encountered, yet possible. To handle it, the general work-around is to wait for a small amount of time before trying again.

@peaBerberian peaBerberian force-pushed the feat/handle-quota-exceeded-error branch from 15eea4b to e08ad48 Compare September 1, 2024 19:06
`SourceBuffer.prototype.appendBuffer` can optionally throw a
`QuotaExceededError` if it has no space left for supplementary segments
for the time.

Those errors are relatively rarely encountered, yet possible. To handle
it, the general work-around is to wait for a small amount of time before
trying again.
@peaBerberian peaBerberian force-pushed the feat/handle-quota-exceeded-error branch from e08ad48 to 3c26509 Compare September 1, 2024 19:08
Copy link

sonarcloud bot commented Sep 1, 2024

@peaBerberian peaBerberian added the Work-In-Progress The PR/Issue is not yet finished. label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Work-In-Progress The PR/Issue is not yet finished.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant