-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
Incremental code coverage: 100.00% |
@vlazh could you add unit tests for this? |
Yes, sure. |
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. |
Fixes #8124.