-
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
feat(Mcap): Add config for media capabilities cache #6615
Closed
CeilingFANC
wants to merge
5
commits into
shaka-project:main
from
CeilingFANC:feat/mediaCapabilitiesCache
Closed
feat(Mcap): Add config for media capabilities cache #6615
CeilingFANC
wants to merge
5
commits into
shaka-project:main
from
CeilingFANC:feat/mediaCapabilitiesCache
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CeilingFANC
changed the title
Feat/ media capabilities cache
feat: media capabilities cache
May 15, 2024
Incremental code coverage: 50.00% |
avelad
added
type: enhancement
New feature or request
priority: P3
Useful but not urgent
labels
May 15, 2024
CeilingFANC
changed the title
feat: media capabilities cache
perf(DRM): media capabilities cache
May 16, 2024
avelad
changed the title
perf(DRM): media capabilities cache
feat(Mcap): Add config for media capabilities cache
May 17, 2024
theodab
requested changes
May 17, 2024
theodab
requested changes
May 17, 2024
CeilingFANC
force-pushed
the
feat/mediaCapabilitiesCache
branch
from
May 21, 2024 05:58
f504712
to
925e454
Compare
theodab
approved these changes
May 21, 2024
I'm a little unsure about this. Please be patient and give me a little more time to review in detail. |
avelad
added
the
status: waiting on response
Waiting on a response from the reporter(s) of the issue
label
Sep 13, 2024
Closing due to inactivity. If the author would like to continue this PR, they can reopen it (preferred) or start a new one (if needed). |
shaka-bot
removed
the
status: waiting on response
Waiting on a response from the reporter(s) of the issue
label
Sep 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #6219
For drm contents with many variants, calling mediaCapabilities on all variants can take quiet some times. This PR is trying to provide a way to check availability of variants in a performance way, but with potential false positive. It tries to group/cache variants by some enum, contentType and keysystem, and share results to reduce call to calculating input for mediaCapabilities, building cachekey, and calling mediaCapabilities itself.