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

Fix source buffer remove interval is too small #3042

Merged
merged 2 commits into from
Dec 14, 2020

Conversation

avelad
Copy link
Collaborator

@avelad avelad commented Dec 11, 2020

Closes: #2982

await this.playerInterface_.mediaSourceEngine.remove(mediaState.type,
startTime, startTime + overflow);
// See: https://github.com/google/shaka-player/issues/2982
if (overflow > 0.01) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to do this check on 1630 so the logs are correct.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@shaka-bot
Copy link
Collaborator

All tests passed!

@TheModMaker TheModMaker merged commit b7209f0 into shaka-project:master Dec 14, 2020
@avelad avelad deleted the source-buffer-remove branch December 15, 2020 06:44
joeyparrish pushed a commit that referenced this pull request Dec 17, 2020
Fixes #2982

Backported to v2.5.x

Change-Id: Iaef7b13c3798f4da63e576387e5728aa95d92d3f
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source buffer remove interval is too small
3 participants