tencent cloud

Cloud Streaming Services

Panduan Pengguna
Pengenalan Produk
Ikhtisar
Produk CSS
Konsep
Fitur
Kasus Penggunaan
Kekuatan
Batas Penggunaan
Panduan Pembelian
Ikhtisar Harga
Layanan Dasar
Layanan Bernilai Tambah
Proses Pembelian
Mengubah Mode Penagihan
Melihat Tagihan
Memproses Pembayaran yang Lewat Jatuh Tempo
Pertanyaan Umum Penagihan
Live Video Broadcasting (LVB)
Ikhtisar
Kasus Penggunaan
Memulai
Integrasi SDK
Live Event Broadcasting (LEB)
Ikhtisar
LEB versus LVB
Kasus Penggunaan
Memulai
Integrasi SDK
Panduan Konsol
Ikhtisar Konsol
Ikhtisar
Manajemen Streaming
Konfigurasi Fitur
Relai
Statistik Penggunaan Penagihan
Kontrol Akses Berbasis CAM
Panduan Fitur
Push dan Pemutaran Ulang
Fitur
Layanan CSS Global
Pemberitahuan Panggilan Balik
Panduan Pengguna untuk Alat Pihak Ketiga Umum
Panduan Ops
Video Macet
Memecahkan Masalah Kegagalan Push
Memecahkan Masalah Kegagalan Pemutaran Ulang
Memecahkan Masalah Latensi Tinggi
Memecahkan Masalah Kualitas Buruk pada Video yang Di-pull
Pemecahan Masalah
Kesalahan Pencampuran Streaming Langsung `InvalidParameter.OtherError`
Pertanyaan Umum
Wilayah Layanan
Penjelasan Dasar tentang Streaming Langsung
Push dan Pemutaran Ulang
Penagihan CSS
Layanan CSS Global
Perekaman Langsung
Campuran Streaming di Cloud
Konfigurasi Domain
Kompatibilitas dengan Apple ATS
Kebijakan CSS
Kebijakan Privasi
Perjanjian Pemrosesan dan Keamanan Data
Glosarium

Configuring DRM Encryption

PDF
Focus Mode
Font Size
Last updated: 2025-12-15 14:46:08
CSS offers DRM encryption capabilities based on Widevine, FairPlay, and NormalAES to help you protect your content and prevent piracy and hotlinking. This document shows you how to configure DRM encryption in the CSS console.

Must-Knows

Tencent Cloud only encrypts your content. DRM licenses are offered by third party licensing services SDMC and DRMtoday, which charge a licensing fee. To learn more details, please contact the companies.

Prerequisites

You have activated CSS and added a playback domain name.
You have created an account at SDMC DRM or DRMtoday and configured an access 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 on the right to enter the DRM management configuration page.



3. Fill in the secret key information and select your certificate management provider. You can choose SDMC or DRMtoday. The specific configuration is as follows:
If your licensing service provider is SDMC:
Enter your SDMC UID, Secret ID, and Secret key (you need to obtain the information from SDMC).



If your licensing service provider is DRMtoday:
Enter your DRMtoday Merchantname, MerchantUUID, MerchantAPIName, MerchantAPIPassword, KeySeedID, and IVSeedID (you need to obtain the information from DRMtoday).




Setting Transcoding Templates

1. Log in to the CSS console and enter the Feature Configuration > Live Transcoding.
2. Click Create Transcoding Template to enter the transcoding configuration page. Click

to enable the DRM encryption. Set the DRM encryption information.



Configuration Item
Required
Description
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 NormalAES. For FairPlay encryption, you need to upload the certificate you obtain from Apple to your player. For details, see Obtaining a FairPlay certificate.
2.1 You can switch between different tabs to view the DRM encryption configuration requirements for standard transcoding, top speed codec transcoding, and audio-only transcoding.
Standard Transcoding
Top Speed Codec Transcoding
Audio-only Transcoding









3. After the configuration is completed, click Save .

Binding Domain Names

1. Log in to the CSS console and enter the Feature Configuration > Live Transcoding.
2. Enter the domain name binding window in the following ways:
Directly bind the domain name : Click Bind Domain Name on the top left.

After successfully creating a new transcoding template, bind the domain name : After successfully setting the transcoding template, click Bind Domain Name in the prompt dialog box.

3. In the domain name binding window, select the transcoding template and playback domain name(Multiple playback domain names can be bound simultaneously) you want to bind, and click Confirm to finish.


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.
On iOS, you need to apply for a certificate and upload it to the SDMC console.
Note:
You need to create an account first before you can visit the SDMC console. For detailed directions on how to create an SDMC account, see Obtaining the UID and Key Information. If you encounter any problems, please submit a ticket. We will help you navigate the process.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback