## Overview

If you are not sure what DRM is, you want have an overview and get started, please have a look at our [DRM Setup Guide](🔗).

Nearly every license provider, such as Irdeto or EZDRM, requires a few special information being sent to the DRM license server, or responds with a proprietary format. Instead of integrating a few license providers into the core of our player, we decided to provide necessary configuration options via the player configuration.

## Widevine



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **WIDEVINE_LICENSE_SERVER_URL**: The URL to DRMtoday's Widevine license server.

  • **BASE64_ENCODED_CUSTOMDATA**: The base64 encoded custom data that DRMtoday expects in license requests.

## PlayReady



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **PLAYREADY_LICENSE_SERVER_URL**: The URL to DRMtoday's Playready license server.

  • **BASE64_ENCODED_CUSTOMDATA**: The base64 encoded custom data that DRMtoday expects in license requests.

## FairPlay



Please replace the following placeholders in the code:

  • **HLS_MANIFEST_URL**: The URL to the HLS Multivariant Playlist (M3U8) file.

  • **FAIRPLAY_LICENSE_SERVER_URL**: The URL to DRMtoday's Fairplay license server.

  • **FAIRPLAY_CERTIFICATE_SERVER_URL**: The URL to retrieve the Fairplay certificate.

  • **BASE64_ENCODED_CUSTOMDATA**: The base64 encoded custom data that DRMtoday expects in license requests.

## Complete example for Widevine, PlayReady, Access and FairPlay



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **HLS_MANIFEST_URL**: The URL to the HLS Multivariant Playlist (M3U8) file.

  • **WIDEVINE_LICENSE_SERVER_URL**: The URL to DRMtoday's Widevine license server.

  • **PLAYREADY_LICENSE_SERVER_URL**: The URL to DRMtoday's Playready license server.

  • **FAIRPLAY_LICENSE_SERVER_URL**: The URL to DRMtoday's Fairplay license server.

  • **FAIRPLAY_CERTIFICATE_SERVER_URL**: The URL to retrieve the Fairplay certificate.

  • **BASE64_ENCODED_CUSTOMDATA**: The base64 encoded custom data that DRMtoday expects in license requests.