tencent cloud

Feedback

Configuring DRM Encryption

Last updated: 2022-07-01 10:59:52

    CSS offers DRM encryption capabilities based on Widevine, FariPlay, and NormalAES, as well as hotlink protection to help you protect your content and prevent piracy. This document shows you how to configure DRM encryption in the CSS console.

    Notes

    Tencent Cloud only encrypts videos. DRM licenses are offered by the third party licensing service SDMC, which charges a licensing fee. To learn more details, please contact the company.

    Prerequisites

    • You have activated CSS and added a playback domain name.
    • You have created an account with SDMC and configured a DRM key.

    Console Settings

    Configuring DRM key information

    1. Log in to the CSS console and select Feature Configuration > DRM management on the left sidebar.
    2. Click Edit and enter the UID, SecretID, and SecretKey (the information is provided by SDMC).

    Creating a transcoding template and binding a domain

    1. Select Feature Configuration > Live Transcoding on the left sidebar.
    2. Click Create Transcoding Template and enable DRM encryption for the template.
    Configuration ItemRequiredDescription
    DRM encryption No Whether to enable DRM encryption. It’s disabled by default. Before enabling this feature, you need to configure DRM key information in “DRM management”.
    Type Yes Widevine, Fairplay, or NomalAES. For FairPlay encryption, you need to upload the certificate you obtain from Apple to your player. For details, see Obtaining a FairPlay certificate.
    1. Click Bind Domain Name to bind the template to your playback domain.

    Obtaining the DRM-encrypted playback URL

    Only HLS playback supports DRM encryption. Use the Address Generator to generate playback URLs (select the template you created). The HLS URL generated is DRM-encrypted.

    Configuring your player

    For the DRM encryption feature to work, your player must meet the following requirements:

    • It must have been equipped by SDMC with the ability to obtain and decrypt license information from video data.
    • Use FairPlay encryption for iOS players and Widevine or NormalAES for Android players.
    • For iOS players, you need to obtain a certificate from Apple and upload it to SDMC’s platform.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support