Offline DRM playback is only supported by JWPlayerKit.
By requiring authorization from a key manager, DRM protects content from unauthorized consumption. However, there are situations when your viewers are offline and cannot immediately request this authorization.
Without instantiating a player,
JWPlayerKit uses the
JWDRMContentLoader to enable downloading your DRM-protected content and the required authorization. Later, a viewer can play the protected content offline.
JWDRMContentLoaderis initialized with a
JWDRMDataSourcesupplies the content keys. The
JWDRMContentKeyManagerstores the content keys.
- After the
JWDRMContentLoaderhas been initialized, you can pass either a playlist comprised of an array of
JWPlayerItemsor a playlist URL generated through your JWP dashboard.
- User initiates playback.
- Informed of the acquisition of content keys, the
JWDRMContentKeyManagerpermits protected content playback or deletes downloaded content from the device.
JWDRMContentKeyManagermust be implemented outside of the iOS SDK. JWP makes available a default, customizable
JWDRMContentKeyManagerin the Best Practice Apps repository.
- When the user initiates playback, authorized protected content plays.
Use the following recipe to configure offline DRM playback.
Updated about 1 month ago