JWP Android SDK (JW Platform)

Learn a simplified approach to protecting your Android content with DRM.



JWP provides a simplified approach to protecting your content with industry-standard Digital Rights Management (DRM). By enabling DRM on a property from your JWP dashboard, you allow JWP to manage the complexities of digital rights on your behalf:

  • Several configured DRM Policies
  • DRM license generation and management for Widevine
  • License delivery services for content playback on any device

With JWP managing the technical aspects of DRM, you can focus on the design and implementation of engaging content experiences. For more information about the DRM workflow, please refer to the High-Level Workflow Overview.

📘

For the following use cases, use Studio DRM Standalone with your current streaming and hosting solution:

  • Choosing not to enable Studio DRM with JW Platform
  • Implementing live stream integrations


Compatibility

The Android SDK supports DRM technology for Android 5+ (native) using Widevine.



Prerequisites

Item Notes
DRM entitlement Contact your JWP representative for more information.
DRM-enabled property See: Enable a property
Player in an Activity See: Set up a player (Android)


Set up DRM playback

Use the following steps to set up DRM playback in your Android app:

  1. Generate a signed URL for DRM playback.
  2. Pass the signed URL directly into the PlayerConfig.Builder() with the .playlistUrl.
    PlayerConfig config = new PlayerConfig.Builder()
        .playlistUrl(SINGLE_ITEM_PLAYLIST_SIGNED_URL)
        .build();
    mPlayer.setup(config);
    

💡

If you need to customize your DRM playback, see our DrmDemo best practice app.