Enable DRM protection
Secure your media and prevent piracy
Digital Rights Management (DRM) is an essential security feature for video content streamed via FastPix. By integrating DRM, you can prevent unauthorized content usage through methods like:
- Screen recording
- Screen sharing
- Downloading tools
With DRM, video segments are encrypted using MPEG Common Encryption in CBCS mode, employing AES symmetric encryption. Additionally, a license request is required to deliver a decryption key, enabling video playback.
FastPix supports the industry-standard DRM protocols for secure video delivery:
- Google Widevine: Android devices and Chrome browsers
- Microsoft PlayReady: Windows platforms, including Xbox
- Apple FairPlay: Apple devices (Safari browsers on macOS, iOS, and iPadOS)
PLEASE NOTE
If you haven't yet obtained a FairPlay certificate, we can provide guidance on how to obtain one. Please reach out to FastPix support for more details.
Configure DRM for your videos
Step 1: Create a Workspace for DRM Testing
For the best results during our beta phase, we recommend creating a new, isolated workspace for testing DRM-protected content.
- Navigate to the Workspace tab in your dashboard to create a workspace.
- Copy your workspace key (e.g., 1049319898967698465).
- Send this key to FastPix support, and we’ll onboard you when slots are available.

Step 2: Receive your DRM configuration ID
After onboarding, we’ll send you a DRM configuration ID for your workspace. This ID can also be found in the Settings tab of your dashboard. You’ll need this ID when creating media with a DRM playback policy.
Example of a DRM configuration ID: 1fd649fe-b84e-494d-b4b3-118ad6c5e4d7
PLEASE NOTE
This is an example, and you will receive a unique ID.
FairPlay DRM on Apple devices
To ensure DRM-protected content plays on Apple devices (Safari on macOS, or any browser on iOS/iPadOS), you must obtain a FairPlay certificate from Apple. Without this certificate, DRM-protected content will not be playable.
Once you’ve obtained the FairPlay certificate (.cer file), upload it to the DRM section under the Settings tab of your FastPix dashboard.
If you need help obtaining a FairPlay certificate, Please contact FastPix support for assistance.

Creating media with a DRM playback policy
Currently, DRM can only be applied to Video on Demand (VOD) content.
To create DRM-protected media, follow these steps:
- Obtain your DRM configuration IDMake sure you have the DRM configuration ID from the previous step.
- Create media with DRM protectionUse the DRM configuration ID and set the accessPolicy to drm in your media creation request. Below is an example of the required JSON format for creating a DRM-protected media:
{
"inputs": [
{
"type": "video",
"url": "https://static.fastpix.io/sample.mp4"
}
],
"metadata": {
"key1": "value1"
},
"accessPolicy": "drm",
"maxResolution": "1080p",
"drmConfigurationId": "1fd539fe-b84e-494d-b4b3-118ad6c5e4a4"
}
Integrating DRM with a third-party player
To stream DRM-protected content on a third-party player, you'll need to pass a signed DRM license URL along with your manifest (playback) URL. The exact method to pass these parameters will vary depending on the player you are using.
For detailed integration instructions, please contact FastPix support.
Testing DRM protection
To verify that DRM is functioning correctly, take a screenshot of the video playback. If DRM is properly enforced, the video should either be replaced by a black screen or display a single frame from the beginning of the video (instead of the actual content).
Updated about 12 hours ago