What DRM video is
DRM stands for digital rights management. In video streaming it means the video travels encrypted and the player can only decrypt it after getting a license from a license server. The license decides which device can play, for how long, at what quality and, on some systems, whether the picture can go out to an external screen. Without a valid license the segments are useless, even if someone downloads every one of them.
In a browser this happens through Encrypted Media Extensions, the W3C standard that lets a web page hand encrypted video to a content decryption module built into the browser. The page never sees the key. Every DRM-enabled video streaming app you use, from Netflix and Disney+ to Prime Video, relies on one of the three systems described below.
HLS with AES-128: the step between tokens and DRM
AES-128 encryption is part of the HLS specification. Every segment is encrypted with a 128-bit key, and without that key the files are unreadable. This is the sequence:
- The server generates a key, per stream or per session.
- Each segment is encrypted before it is delivered.
- The M3U8 playlist tells the player where to fetch the key, with a line like the one below.
- The player requests the key before it starts playing.
- The key server checks the request: token, domain, country or whatever rules you set.
- The player decrypts and plays, and the viewer notices nothing.
#EXT-X-KEY:METHOD=AES-128,URI="https://keys.example.com/live/key?token=abc123" The advantages are real: it works in standard HLS players (Safari, hls.js and most apps), there are no third-party licenses and no fee per play, and it covers live and on-demand video. So are the limits. The key has to reach the player, so a technical user who can request it can also decrypt the segments. It does nothing against screen recording, and it does not meet film studio requirements.
One clarification so there are no surprises: XtreamCast does not offer AES-128 HLS encryption. Our streams are delivered over HTTPS, and access is controlled with SecureToken, as explained further down.
Widevine, FairPlay and PlayReady
Full DRM means three systems, because no single one plays everywhere:
| System | Owner | Where it plays | What you need |
|---|---|---|---|
| Widevine | Chrome, Firefox, Edge, Android, Android TV, Chromecast and many smart TVs | A license service, usually through a multi-DRM provider | |
| FairPlay Streaming | Apple | Safari on macOS, iOS and iPadOS, Apple TV and native Apple apps | Credentials that Apple issues to the content owner through its developer program |
| PlayReady | Microsoft | Edge on Windows, Xbox and many smart TVs | A license service; some implementations need a commercial license |
To reach the common screens you need at least Widevine and FairPlay, plus PlayReady if Windows apps, Xbox or certain TVs matter to you. Apple documents its process on the FairPlay Streaming page. The good news is that with CMAF and Common Encryption, one set of encrypted files can serve all three systems on modern devices, so you do not store your catalog three times. Our guide to what CMAF is explains that packaging.
Widevine security levels
- L1: decryption and video processing happen inside a trusted execution environment (TEE) in the device's hardware. Most premium services require it for HD and 4K.
- L2: decryption happens inside the TEE, but video processing happens outside it. It is uncommon.
- L3: everything runs in software, without a TEE. Desktop Chrome and Firefox on Windows, macOS and Linux work at this level, and many services limit the resolution they send to L3 devices.
The level is a property of the device, certified by its manufacturer. You do not buy L1: you decide in your license policy which level each quality requires, for example HD only on L1 and standard definition on L3. PlayReady has a similar split between software (SL2000) and hardware (SL3000) security.
DRM for live streaming
Live DRM works like on-demand DRM, except that the packager encrypts each segment as the encoder delivers it. Encryption adds very little delay. Latency still comes from the delivery protocol, so a DRM-protected HLS stream is as fast or as slow as the same stream without DRM.
Two things change in practice. License requests arrive in a burst, because thousands of viewers press play in the same minute, and the license service has to absorb that peak without failing. And a DRM error is not a lower quality: it is a black screen with an error message. Before a live event, test on an iPhone, an Android phone, a smart TV and desktop Chrome, with the exact license policy you will use on the day.
Can DRM streaming video be downloaded or captured?
Content owners ask us this more than anything else, so here is the honest answer from the protection side.
Downloading. With DRM, downloaded segments stay encrypted and are useless without a license tied to a specific device. The offline downloads in apps like Netflix work through persistent licenses that expire and only play inside that app.
Capturing. On devices with hardware-backed DRM, the protected video path keeps decoded frames away from other apps, so screen recorders usually capture a black frame, and HDCP protects the HDMI output to a TV. On software-level setups, such as desktop browsers at L3, capture is much harder to block. And nothing stops a camera pointed at the screen.
That is why premium services add forensic watermarking. It does not prevent the copy, but it marks each session with an invisible identifier, so a leak can be traced to an account. We do not explain how to get around DRM: beyond the technical side, breaking it is illegal in many countries.
What it takes to run a DRM video platform
Whether you build it or buy it, a DRM video platform combines these pieces:
- A packager that encrypts the video, usually in CMAF with Common Encryption. Google's open-source Shaka Packager does it, and so do commercial encoders.
- License servers for each system. Almost everyone uses a multi-DRM provider instead of running them.
- An entitlement service of your own that tells the license server whether a given user may watch a given title.
- Players that integrate DRM: Encrypted Media Extensions in browsers, Media3 (ExoPlayer) on Android and AVPlayer on Apple devices. Each device family is its own development.
- Testing on every device you promise to support, repeated with each new app or operating system version.
Multi-DRM providers usually charge a monthly fee, a fee per license issued, or both, and on top of that there is engineering time and ongoing device testing. Ask for quotes with your expected number of viewers and licenses per month. If no contract requires DRM, start with tokens, geoblocking and domain restriction, and invest in DRM when a rights holder asks for it or when the losses justify it.
When you need DRM, and when you do not
You need DRM when
- A studio, distributor or league requires it in the contract. This is the most common reason, and it is not negotiable.
- You run an on-demand service with a licensed premium catalog.
- You sell high-ticket pay-per-view events where a single leak costs real money.
- You stream music under licenses that demand it.
You probably do not need it when
- You stream services, classes, conferences or company events, where the goal is controlling access, not preventing every possible copy.
- Your content is free and your concern is other sites embedding your player: that is a domain restriction problem.
- Your rights only require territorial restriction, which geoblocking covers.
For online courses and internal company videos, a login with per-session tokens and a watermark usually gives enough protection at a fraction of the effort. If you are planning a subscription catalog, our guide on how to build an OTT platform separates the video, access and payment pieces.
What XtreamCast offers instead of DRM
Plainly: XtreamCast does not offer DRM, and it has no paywall. If your content requires studio-grade DRM by contract, you need a specialized provider, and we would rather say so before you sign. What our paid video plans do include:
- SecureToken on HLS, LL-HLS, WebRTC and SRT outputs, with a duration you configure, so a copied link stops playing when it expires.
- Country geoblocking with an allow list or a block list that you edit in the panel.
- ShieldPower, so the Player Advance™ player only loads on the domains you authorize.
- HTTPS delivery, two-factor authentication for the panel and collaborators with their own permissions.
Ticket sales, logins and subscriptions live on your own platform, which embeds the player. The same goes for the OnDemand library: it gives you a player per video, but no DRM, subscriptions or pay-per-view. Each control is described on our security page, and our guide on how to protect a live stream from piracy puts all the layers in order. If you sell sports events, sports pay-per-view streaming covers that business.
Access control without the DRM overhead
SecureToken on every output, country geoblocking and a player that only loads on your domains, on paid video plans. If your contract demands studio DRM, we will tell you up front.