GlossaryDRM (digital rights management)

DRM (digital rights management)

DRM (digital rights management) is the system that encrypts video and releases the decryption key only to approved viewers on approved devices. The video is encrypted once when it is packaged. When a viewer presses play, a secure module inside the device asks a license server for a license, which carries the key and rules such as an expiry time or whether offline playback is allowed. The three DRM systems in use today are Google Widevine, Apple FairPlay and Microsoft PlayReady.

How does DRM work?

DRM starts at packaging. Each video is encrypted with AES using a content key, and the manifest records a key ID plus the DRM systems that can supply that key. The key itself is kept by a key service, never in the file.

In a browser, the player hands that information to Encrypted Media Extensions (EME), the W3C browser API for protected playback, which passes it to the content decryption module (CDM), the sealed DRM component built into the browser or device. The CDM creates a license request. The player forwards it to the license server along with a token from your backend that proves the viewer is entitled to watch. If the token checks out, the server returns a license holding the key and its rules. Decryption, and often decoding, then happen inside the CDM. The page's code never sees the key, and on hardware-backed security levels the decrypted frames stay on a protected path to the screen as well.

DRM vs. signed URLs and AES-128 encryption

These three are often confused because all of them restrict playback. A signed URL is a link with an expiring signature: it controls who can fetch the stream, but once someone has the segments, they play anywhere. HLS AES-128 encryption scrambles the segments, but the key is sent to the player as an ordinary HTTPS response. Any client allowed to fetch that key, including a download tool running inside a valid session, can decrypt every segment.

DRM is different because the key is delivered inside a license that only the device's CDM can open, and the rules travel with it. The player can request a license but cannot read the key. That is why rights holders write DRM into contracts, while signed URLs alone are common for lower-risk private video. OTT catalogues of licensed films usually need DRM; a course platform often starts with signed, expiring links and adds DRM only to flagship courses.

Which DRM do you need for iPhone, Android, Chrome and smart TVs?

A player cannot bring its own DRM. Each DRM system is tied to the platforms that ship its CDM, so the list of devices your viewers use decides which systems you need. Security levels matter as well as the system: Widevine, for example, has a hardware-backed level and a software-only level, and licenses for HD or 4K titles often require the hardware one. Check both before promising a title on a device.

  • FairPlay: Safari on Mac, iPhone, iPad and Apple TV.
  • Widevine: Chrome, Firefox, Android phones, Android TV and many smart TVs.
  • PlayReady: Edge, Windows, Xbox and many smart TVs.
  • Smart TVs vary by model, so test each target TV, not just the brand.
  • A service that plays on every common screen uses all three, which is called multi-DRM.

What can DRM not prevent?

DRM protects the stream and the key. It cannot protect the light leaving the screen. Someone filming a TV with a phone defeats any DRM system. On devices with hardware-backed DRM, the CDM can block many screen recorders and require HDCP, a copy protection on HDMI links, before sending video to an external display. Software-only DRM levels give weaker guarantees, which is why rights holders often allow full HD and 4K only on hardware-backed devices and cap resolution elsewhere.

DRM also adds moving parts to every play. The license request sits on the startup path, so a slow license server delays the first frame. A device that fails a license check shows an error that looks like any other playback failure. Teams that ship DRM therefore record the DRM system on every view, and pair DRM with visible or forensic watermarks when they need to trace who leaked a copy.

How does FastPix handle DRM?

FastPix treats DRM as one stage of the same pipeline that encodes and delivers the video. Protected playback runs through the DRM API with Widevine, FairPlay and PlayReady, and is priced separately for on-demand and live. The FastPix Player plays DRM-protected HLS and DASH through native SDKs for web, Android (built on Media3, including Android TV), iOS (built on AVPlayer, including tvOS) and Flutter, and the web SDK also reaches Samsung Tizen and LG webOS, with one playback ID across all of them. Test protected playback on each TV model you target.

Not every title needs DRM. Any playback ID can instead be signed with a JWT issued from your signing keys, with an expiry you set, so free trailers stay public, private lessons run on signed links and premium titles carry DRM. On live streams, the playback policy set on the stream carries to the archived on-demand asset, so a replay is protected the same way as the broadcast. The player can add a configurable visible watermark. FastPix does not offer forensic watermarking.

Video Data records the DRM type on every view, so startup failures and errors can be broken down by DRM type, device, OS and player version. That separates a license failure on one TV model from a general playback problem.

DRM is billed as a monthly platform fee plus a small fee per license issued: VOD DRM is $99 a month plus $0.004 per license, and live DRM is $100 a month plus $0.006 per license. The variable part follows license requests, not library size. Start on the free plan with signed playback IDs, then switch on DRM for the titles that need it.

By the numbers