[DRM] [FairPlay] skd (and EXT-X-KEY altogether) missing from HLS manifest

Product

Encoding - VOD

Question

Hello folks,

When encoding with DRM protection, I provide the IV and URI in FairPlay Cenc config, however it’s not included in the resulting HLS manifest (no skd and no EXT-X-KEY element). Do you know if there is configuration I need to tweak to be able to add this to the manifest? Or perhaps a second DRM config / manifest needs to be made for FairPlay-only?

Cheers,
Łukasz

Hi @Lukasz.Bajorski ,

Thanks for asking in the Community. To confirm, are you creating the DRM config via this endpoint? Add CENC DRM to an fMP4 muxing

I assume you also get the same results when trying these alternative endpoints?

If so, I suspect the generated DRM_ID is not getting correctly assigned to the Manifest variants. Are you creating a Default or a Custom manifest? Default vs custom manifests

Note that when using the custom manifest approach, you can manually assign the drmId to each component, which should resolve the issue:

If the above doesn’t help, could you share the affected encodingID and manifestID so we can review?

Thank you!

Hi @albertobitmovin,

Thanks a lot for your answer.

We were aiming at max simplicity to start with, so we were only trying CencDrm and default manifests.

I’ll look into the specific fairplay drm and potentially non-default manifests, perhaps that will indeed solve the issue. If not, I’ll get back to you :slight_smile:

Cheers,
Łukasz