tencent cloud

StreamLive

Introduction
Purchase Guide
Billing Overview
Overdue Payments and Service Suspension
Console Guide
Input Management
Channel Management
Asset Management
Plan Management
Feature Guide
Implementing Live Streaming
Stream Real-Time Monitoring
Digital Rights Management (DRM)
Forensic Watermark
Input Failover
Input Switch
Stream Pushing Callback Notification
Playlist
Scheduled Recording
Highlights
Time shifting
Delayed Playback
Adaptive Bitrate Streaming
Caption
Relay
Frame Capture
SCTE-35
PDT (HLS)
Archiving (Recording)
Dolby Audio
Output To YouTube
Ad Insertion
StreamLive Tag
API Documentation
History
Introduction
API Category
Making API Requests
Input Management APIs
Input Security Group Management APIs
Channel Management APIs
Plan APIs
Watermark Management APIs
Statistics APIs
Data Types
Error Codes
StreamLive Policy
Data Processing and Security Agreement
Privacy Policy
Related Agreement
Service Level Agreement
DocumentationStreamLive Feature GuideDigital Rights Management (DRM)

Digital Rights Management (DRM)

PDF
Focus Mode
Font Size
Last updated: 2025-05-28 17:09:51

Overview

StreamLive supports custom key DRM, SDMC DRM and TencentDRM. To configure DRM, go to Channel Management, find the channel you want to configure DRM for, and click Edit. On the Output Group Setting page, configure DRM in the DRM area.





The supported DRM Types for each protocol type and scheme type are shown in the table below:
Protocol Type
Scheme:SDMCDRM
Scheme:CustomDRMKeys
Scheme:TencentDRM
HLS , Segment Type : ts
FAIRPLAY
FAIRPLAY、AES128
FAIRPLAY、AES128
HLS, Segment Type : fmp4
FAIRPLAY、WIDEVINE、PLAYREADY
FAIRPLAY、WIDEVINE、PLAYREADY、AES128
FAIRPLAY、WIDEVINE、AES128
DASH, Segment Type : ts
WIDEVINE、PLAYREADY
WIDEVINE
DASH, Segment Type : fmp4

DRM technology: platform native support

HTML5 browsers:
Browsers
FAIRPLAY
WIDEVINE
PLAYREADY
AES128
Chrome
Windows, macOS, Android, ChromeOS, Linux
Firefox
Windows, macOS, Android, Linux
Microsoft Edge
Windows, macOS, Android
Windows
Safari
macOS, iOS, iPadOS
Mobile phones & tablets
Mobile phones & tablets
FAIRPLAY
WIDEVINE
PLAYREADY
AES128
Android
iOS / iPadOS

SDMCDRM

When the Scheme is selected as SDMCDRM:
For the HLS protocol with ts segments: DRM Type can support FAIRPLAY.
For the HLS protocol with fmp4 segments: DRM Type can support FAIRPLAY, WIDEVINE, and PLAYREADY.
For the DASH protocol: DRM Type can support WIDEVINE and PLAYREADY.
Taking the HLS protocol with fmp4 segments as an example, you need to enter the following information.



Cid: The content ID provided by SDMC. If you leave this empty, the channel ID will be used.
Uid: The user ID provided by SDMC.
Secret id: The secret ID provided by SDMC.
Secret key: The secret key provided by SDMC.
Uri: The URL to get the DRM key (provided by SDMC).
Tokenname: The token name for the key URL, which is provided by SDMC. If you leave this empty, token will be used.

CustomDRMKeys

When the Scheme is selected as CustomDRMKeys:
1. For the HLS protocol with ts segments: DRM Type can support FAIRPLAY and AES128.
When selecting FAIRPLAY, please provide the following information:



Cid: The FairPlay content ID. If your DRM system does not use content IDs, enter a custom ID.
Key: The FairPlay encryption key.
Iv: The FairPlay encryption IV.
When selecting AES128, please provide the following information:



Key: The encryption key.
Uri: The URL to get the key.
Iv: The encryption IV.
2. For the HLS protocol with fmp4 segments: DRM Type can support FAIRPLAY, WIDEVINE, PLAYREADY, and AES128. Multiple selections are supported, but AES128 is mutually exclusive with the other three types.
When selecting FAIRPLAY, WIDEVINE and PLAYREADY, please provide the following information:



Cid: The content ID. If your DRM system does not use content IDs, enter a custom ID.
Key: The encryption key.
Iv: The encryption IV.
If your DRM system does not provide keys for different tracks, select All Track. If your DRM system provide keys for different tracks, you can configure a separate key ID and key for each track (five track types are supported: AUDIO, SD, HD, UHD1, and UHD2 ).
When selecting AES128, please provide the following information:



Key: The encryption key.
Uri: The URL to get the key.
Iv: The encryption IV.
3. For the DASH protocol: DRM Type can support WIDEVINE and PLAYREADY.



Cid: The content ID. If your DRM system does not use content IDs, enter a custom ID.
Key: The encryption key.
If your DRM system does not provide keys for different tracks, select All Track. If your DRM system provide keys for different tracks, you can configure a separate key ID and key for each track (five track types are supported: AUDIO, SD, HD, UHD1, and UHD2 ).

TencentDRM

When the Scheme is selected asTencentDRM:
1. For the HLS protocol with ts segments: DRM Type can support FAIRPLAY and AES128.
When selecting FAIRPLAY, please provide the following information:

Cid: The FairPlay content ID. If your DRM system does not use content IDs, enter a custom ID.
Key: The FairPlay encryption key.
Iv: The FairPlay encryption IV.
When selecting AES128, please provide the following information:

Key: The encryption key.
Uri: The URL to get the key.
Iv: The encryption IV.
2. For the HLS protocol with fmp4 segments: DRM Type can support FAIRPLAY, WIDEVINE, and AES128. Multiple selections are supported, but AES128 is mutually exclusive with the other three types.
When selecting FAIRPLAY and WIDEVINE, please provide the following information:

Cid: The content ID. If your DRM system does not use content IDs, enter a custom ID.
Iv: The encryption IV.
If your DRM system does not provide keys for different tracks, select All Track. When using WIDEVINE, if your DRM system provide keys for different tracks, you can configure a separate key ID and key for each track (five track types are supported: AUDIO, SD, HD, UHD1, and UHD2 ).
When selecting AES128, please provide the following information:

Key: The encryption key.
Uri: The URL to get the key.
Iv: The encryption IV.
3. For the DASH protocol: DRM Type can support WIDEVINE.

Cid: The content ID. If your DRM system does not use content IDs, enter a custom ID.
If your DRM system does not provide keys for different tracks, select All Track. If your DRM system provide keys for different tracks, you can configure a separate key ID and key for each track (five track types are supported: AUDIO, SD, HD, UHD1, and UHD2 ).

Additionally, Tencent Cloud Streaming Services(CSS) offers key management capability for TencentDRM. The interaction process between each product can be referred to in the diagram below.

Note:
Furthermore, The use of the TencentDRM feature will be charged based on the number of DRM License requests. For billing details, please refer to: DRM Encryption.



Help and Support

Was this page helpful?

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

Feedback