Apple FairPlay support

601 views
Skip to first unread message

David Eisenbacher

unread,
Mar 9, 2018, 11:00:01 AM3/9/18
to Shaka Packager Users
Hello
I see that apple fairplay is listed for support but under the DRM section of https://google.github.io/shaka-packager/html/documentation.html#encryption-decryption-options I do not see the details

Can someone share the details for using apple fps with shaka for example values listed below 
not real keys:

cupertinostreaming-aes128-method: SAMPLE-AES
cupertinostreaming-aes128-url: skd://fps.mydomain.com/;xe7973fe-b732-4XXX-bdef-12345ad478de
cupertinostreaming-aes128-key: 123456789098765432112345678909 87
cupertinostreaming-aes128-iv: ABCDEFGHIJKLMNOPQRSTUVWXYZABC
cupertinostreaming-aes128-iv-include-in-chunklist: false
cupertinostreaming-aes128-key-format: com.apple.streamingkeydelivery
cupertinostreaming-aes128-key-format-version: 1

THX




KongQun Yang

unread,
Mar 9, 2018, 1:31:37 PM3/9/18
to Shaka Packager Users
Hi David,

Sorry for lacking of documentation for FairPlay. It is tracked in https://github.com/google/shaka-packager/issues/306. I will try if we can address it next week.

Fairplay is enabled by providing a fairplay pssh: 00000020707373680000000029701FE43CC74A348C5BAE90C7439A4700000000

Here is the command to enable fairplay with user provided key:

    ...
  --enable_raw_key_encryption --protection_scheme cbcs \
  --keys 'label=:key_id=<key_id>:key=<key>' --iv <iv> \
  --hls_key_uri '<hls_key_uri>' --pssh 00000020707373680000000029701FE43CC74A348C5BAE90C7439A4700000000

Let us know if you have more questions.
Reply all
Reply to author
Forward
0 new messages