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: support in-manifest DRM data #23

Merged
merged 2 commits into from
Mar 30, 2018
Merged

Conversation

forbesjo
Copy link
Contributor

No description provided.

@forbesjo forbesjo force-pushed the pssh branch 2 times, most recently from 39e32f3 to 3f84429 Compare March 20, 2018 16:11
Copy link
Contributor

@gesinger gesinger left a comment

Choose a reason for hiding this comment

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

Minor comments, but otherwise looks good

@@ -180,14 +181,48 @@ export const inheritBaseUrls =
*/
export const toRepresentations =
(periodAttributes, periodBaseUrls, periodSegmentInfo) => (adaptationSet) => {
const keySystems = {
Copy link
Contributor

Choose a reason for hiding this comment

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

These can be pulled up to top level

adaptationSetAttributes,
roleAttributes);

const contentProtection = findChildren(adaptationSet, 'ContentProtection')
Copy link
Contributor

Choose a reason for hiding this comment

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

Might want to extract this as its own function

@forbesjo forbesjo merged commit 7ce9aca into videojs:master Mar 30, 2018
@forbesjo forbesjo deleted the pssh branch March 30, 2018 19:57
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