-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Prevent license requests for unplayable variants #6204
Conversation
this.onTracksChanged_(); | ||
} | ||
|
||
const playableVariants = shaka.util.StreamUtils.getPlayableVariants( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes any variant that is not allowedByKeySystem
. In some cases, this may prevent license requests for streams that are only unplayable because we haven't made a license request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's correct, but at this point no variant allowedByKeySystem = false
has yet been set, so it will never filter allowedByKeySystem
Fixes #3429