- 1. Play an existing DRM-protected video
- 2. Create an Entitlement Message
- 3. Create and Sign a License Service Message ("JWT")
- 4. Encode a video using Axinom Encoding
- 5. Protect a video using Axinom Encoding and Axinom Key Service
- 6. Protect a video using a third-party encoder
- 7. Integrate a video player
- 8. Troubleshooting
- What’s next?
In this guide, you will run through the most typical tasks related to video protection and playback.
|In the steps below you will need various pieces of your DRM configuration, such as a Communication Key and Communication Key ID. Make sure you acquired DRM credentials under My Mosaic before you start.|
Let’s start with an easy one: You have a DRM-protected video. How to play it?
We have prepared some videos already protected with DRM, and we will show what you need to play them (for testing purpose).
In the first section, DRM Playback Tool generated an entitlement message for you automatically based on the known data about the test vectors. Now we will generate our own entitlement message. It is a JSON data structure that instructs Axinom DRM License Service to issue a DRM license and sets various license parameters, such as duration or security requirements.
Now you need to learn to protect your videos. First, we will learn how to encode videos using Axinom Encoding. In a later step, we will apply protection as an additional step during encoding. Instead of Axinom Encoding, you can use any other video encoder, the general principles remain the same.
Instead of Axinom Encoding, you can use any video encoding service on the market. You can integrate Axinom Key Service using one of the supported protocols.
The final step is a video player that will play your DRM-protected video. You have to configure the player to connect to the Axinom DRM License Service to acquire a DRM license enabling playback.
Read: Integrate a video player
If something goes wrong with your DRM integration, check this page, and maybe an issue is quickly resolved.