-
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
feat: Add adaptation set criteria factory configuration #7886
feat: Add adaptation set criteria factory configuration #7886
Conversation
a801891
to
858c2af
Compare
lib/media/example_based_criteria.js
Outdated
goog.requireType('shaka.config.CodecSwitchingStrategy'); | ||
|
||
|
||
/** | ||
* @implements {shaka.media.AdaptationSetCriteria} | ||
* @final | ||
* @export |
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.
Why?
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.
Closure was complaining about it. Not exactly sure why, though. I would've expected it to work without exporting this one.
Let me try again and report back.
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.
Well, seems like it's ok without again. Not sure exactly what was up then. Removing the exports.
@@ -17,51 +17,33 @@ goog.require('shaka.util.LanguageUtils'); | |||
/** | |||
* @implements {shaka.media.AdaptationSetCriteria} | |||
* @final | |||
* @export |
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.
Technically I think it is not necessary to export it because it is the default solution.
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.
ah, yeah, let me double-check if it's still needed. Added it for the same reason as example-based-criteria.
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.
updated
Incremental code coverage: 87.39% |
@shaka-bot test |
@avelad: Lab tests started with arguments:
|
This exports AdaptationSet, and AdaptationSetCriteria to enable an
adaptationSetCriteriaFactory
method to allow for shaka users to provide their own implementation of a class that implements AdaptationSetCriteria.Fixes #7768