-
Notifications
You must be signed in to change notification settings - Fork 524
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
Question: Generate HLS stream with SAMPLE-AES encryption with identity key format #659
Comments
AES-128 is not supported by shaka-packager currently. |
@weiyuefei is right. We do not support AES-128 right now. I am interested in your use case. What is the reason that you want to use AES-128 instead of SAMPLE-AES? |
@kqyang Do you think the SAMPLE-AES encryption is more popular than AES-128? What's the benefit of the SAMPLE-AES than AES-128. There is no document about this in the HLS draft. The reason why I'm interested in AES-128 right now, just because of most players have not implements the sample-based SAMPLE-AES decryption. Such as |
@Romantic-LiXuefeng Yes, SAMPLE-AES is a sample based encryption scheme. It allows the streams to be processed even before it is decrypted. SAMPLE-AES in mp4 is compatible with industry Common Encryption standard.
That is not true. It is specified in HLS specification and also Apple's encryption specification.
That is not completely true. ExoPlayer supports SAMPLE-AES in mp4, which is basically the same as 'cbcs' encryption scheme in CENC. |
@kqyang How to generate the HLS stream with non-CDM SAMPLE-AES protection? #google/ExoPlayer#6488 . As the reference |
See https://google.github.io/shaka-packager/html/tutorials/raw_key.html. |
@kqyang Thanks very much for your help. |
Just as the described in the HLS draft document.
https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.2.4
#EXT-X-KEY:
The text was updated successfully, but these errors were encountered: