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: Check bandwidth when filtering streams #8125

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

vlazh
Copy link
Contributor

@vlazh vlazh commented Feb 20, 2025

Fixes #8124.

@vlazh vlazh reopened this Feb 20, 2025
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 100.00%

@tykus160
Copy link
Member

@vlazh could you add unit tests for this?

@avelad avelad added type: bug Something isn't working correctly priority: P2 Smaller impact or easy workaround labels Feb 20, 2025
@avelad avelad added this to the v4.14 milestone Feb 20, 2025
@vlazh
Copy link
Contributor Author

vlazh commented Feb 20, 2025

@vlazh could you add unit tests for this?

Yes, sure.

@avelad
Copy link
Member

avelad commented Feb 20, 2025

What is the point of this? If there is a better quality (in terms of resolution), why should we select this one?

@vlazh
Copy link
Contributor Author

vlazh commented Feb 20, 2025

What is the point of this? If there is a better quality (in terms of resolution), why should we select this one?

The point is we should not discard unique valid quality. Qualities are sorted by bandwidth but filtering by resolution. And if there is a situation showed in #8124, the valid unique quality will be discarded with no real reason. No other players (dash.js, hls.js, native hls) are filtering qualities in such way.

@avelad avelad merged commit ccbbb01 into shaka-project:main Feb 20, 2025
21 checks passed
@vlazh vlazh deleted the patch-2 branch February 20, 2025 16:42
joeyparrish pushed a commit that referenced this pull request Feb 22, 2025
joeyparrish pushed a commit that referenced this pull request Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P2 Smaller impact or easy workaround type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filtering out valid video stream
4 participants