Skip to content

fix: Check bandwidth when filtering streams#8125

Merged
avelad merged 2 commits intoshaka-project:mainfrom
vlazh:patch-2
Feb 20, 2025
Merged

fix: Check bandwidth when filtering streams#8125
avelad merged 2 commits intoshaka-project:mainfrom
vlazh:patch-2

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
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 21, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Apr 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated 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