Skip to content
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(DRM): License URL support for Extensions #1432

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KingLucius
Copy link
Contributor

Extensions developers can use OnlineDrmExtractorLink to provide the Drm license URL.

Copy link
Collaborator

@fire-light42 fire-light42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need an extra type, just extend DrmExtractorLink instead.

@fire-light42
Copy link
Collaborator

This will also be blocked until stable like #1216

@KingLucius
Copy link
Contributor Author

Why do you need an extra type, just extend DrmExtractorLink instead.

We can go the other approach extending DrmExtractorLink and based on the existence of keyUrl will setup Media3 configuration online/offline

keyRequestParameters: HashMap<String, String> = hashMapOf(),
licenseUrl: String? = null,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break the API, so this will be blocked until stable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that if we are going to wait stable anyway, I can add the parameter like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants