Skip to content

fix: Fix end-of-stream detection for VOD #8813

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

joeyparrish
Copy link
Member

@joeyparrish joeyparrish commented Jun 26, 2025

PR #8603 refactored the conditions for being "buffered to the end". Two of these conditions from Player didn't fit in the new location (Playhead). One (this.isEnded()) was moved, and the other (this.mediaSourceEngine_.ended()) was dropped by accident. This restores the dropped condition next to isEnded().

Verified in the Cast Application Framework.

@joeyparrish joeyparrish requested a review from a team June 26, 2025 22:14
PR shaka-project#8603 refactored the conditions for being "buffered to the end".
Two of these conditions from Player didn't fit in the new location
(Playhead).  One (this.isEnded()) was moved, and the other
(this.mediaSourceEngine_.ended()) was dropped by accident.  This
restores the dropped condition next to isEnded().

Verified on Chromecast.
@shaka-bot
Copy link
Collaborator

shaka-bot commented Jun 26, 2025

Incremental code coverage: 100.00%

@avelad
Copy link
Member

avelad commented Jun 27, 2025

@shaka-bot test

@shaka-bot
Copy link
Collaborator

@avelad: Lab tests started with arguments:

  • pr=8813

@avelad avelad added type: bug Something isn't working correctly priority: P1 Big impact or workaround impractical; resolve before feature release labels Jun 27, 2025
@avelad avelad added this to the v4.16 milestone Jun 27, 2025
@avelad avelad merged commit 75e2711 into shaka-project:main Jun 27, 2025
61 of 66 checks passed
@joeyparrish joeyparrish deleted the fix-vod-eos branch June 27, 2025 15:58
joeyparrish added a commit that referenced this pull request Jun 27, 2025
PR #8603 refactored the conditions for being "buffered to the end". Two
of these conditions from Player didn't fit in the new location
(Playhead). One (this.isEnded()) was moved, and the other
(this.mediaSourceEngine_.ended()) was dropped by accident. This restores
the dropped condition next to isEnded().

Verified in the Cast Application Framework.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P1 Big impact or workaround impractical; resolve before feature release type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants