Skip to content

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

Open
peaBerberian wants to merge 1 commit intomainfrom
feat/handle-quota-exceeded-error
Open

[WIP] Handle QuotaExceededError when pushing segments to the SourceBuffer#11
peaBerberian wants to merge 1 commit intomainfrom
feat/handle-quota-exceeded-error

Conversation

@peaBerberian
Copy link
Copy Markdown
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
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud 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