-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
👋 there. :)
I'm working on converting our bespoke FairPlay implementation to work within 2.5.5.
While stepping through Shaka's implementation I arrived at this code in drm_engine
:
I read this as, if a client has not specified a playerConfiguration.drm.initDataTransform
callback then the default implementation should be used.
But, it turns out Shaka has a default identity function setup in configuration:
So, as a client, if I omit playerConfiguration.drm.initDataTransform
than the default handling in drm_engine
is ignored.
I want to believe the default impl in player_configuration
is unintended based on the function | undefined
documentation: https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.PlayerConfiguration
Thanks for your feedback.