Set up a PlayReady license server and handle license acquisition from a web client

domain: playready · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Embed a WRMHEADER (PlayReady Object) in the DASH MPD or HLS manifest so the player knows the license acquisition URL
  2. On the 'message' event from MediaKeys, extract the challenge bytes; the client sends these as the body of a POST request to your license server with Content-Type text/xml; charset=utf-8 and the SOAPAction header set to the PlayReady AcquireLicense action URI
  3. Your license server validates the challenge, applies business rules (rental window, play count), and returns a SOAP envelope containing the license
  4. Pass the binary license response back to the EME session via update() to load the decryption keys
  5. Test with the Microsoft PlayReady test server before wiring to production to confirm header and challenge format

Known gotchas

Related routes

Acquire a PlayReady license for protected content via a license server
learn.microsoft.com · 6 steps · unrated
Build a multi-DRM license proxy that routes FairPlay SPC, Widevine license challenge, and PlayReady license requests to the correct backend based on the requesting CDM
w3.org · 6 steps · unrated
Automate a PlayFab title with a PlayStream Rule that reacts to a custom client event in real time
api.playfab.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans