-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added partial DRM system support. Some typo fixes. #5
Conversation
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.
Review summary of most important points:
- The term "DRM system" is misapplied, needs correction.
- Let's implement the entire element, please. It is a very simple element, after all.
- If we now support this element, we should add it to the test vectors generator, improving some existing examples and adding new ones. Maybe reference the work by Laurent, maybe make up own examples - I have not thought about what makes good examples yet.
- Code looks nice and clean!
I did not check it from a "did anything not get touched that should have" angle. I guess readme should be updated to match new features.
- Also added a unique constraint and a default value related HLSSignalingData element and "playlist" attribute. This way schema validation fails if multiple playlist value are the same (even of both not present).
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.
Lookin' good! Just a couple more comments before perfection.
- Automatic PR data signaling generation. Much of code was taken from Makemedia and Axinom.Toolkit projects, with some modifications. This doesn't cover HDS and SS data generation. - Added Protobuf lib as dependency, for Widevine PSSH data generation. - "Variant" playlist renamed to "Media" playlist as per HLS spec.
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.
Looks good to me except for one super minor nit.
Cpix/HlsPlaylistType.cs
Outdated
@@ -3,6 +3,6 @@ | |||
public class HlsPlaylistType |
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.
Any particular reason this is not a sealed class? Feels like it should be.
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.
No reason. Will seal.
The partial support includes: key ID, system ID and content protection data handling.