20

This might be off-topic, but I appeal to the gods of SO to allow this thread to exist.

I've been scouring the web using all the keyword permutations I know, to try and find a solid guide for implementing Encrypted Media Extensions in HTML5 video.

There is tons of information on what EME is, but not a practical guide on implementing it.

Have you found any practical guides on implementing an end-to-end EME pipeline, or at the very least something that points toward that?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
daniel0mullins
  • 1,937
  • 5
  • 21
  • 45
  • 1
    it's not trivial! Good practical guide is http://www.html5rocks.com/en/tutorials/eme/basics/ – Offbeatmammal Jun 07 '14 at 01:59
  • Were you able to get that cooking? – zaitsman Mar 09 '15 at 23:12
  • I still haven't found any good, practical advice on EME. – daniel0mullins Apr 27 '15 at 21:43
  • Suffice to say that it's a new technology that's only supported on the newest browsers, and also one that tech evangelists are loathe to spread. The tutorials will come eventually... – William Feb 26 '16 at 21:35
  • One example: https://msdn.microsoft.com/en-us/library/dn521040.aspx From the looks of it the powers that be seem to try to offer the services on their servers as a service at best. An open source server side "thing" would be nice. –  May 24 '16 at 00:36

1 Answers1

4

For anyone still looking for this, there are some open source players which have EME integrated, allowing you to view the implementation approach in detail.

For example, dash.js the Dash Industry Forum reference player, supports EME and has an architecture to support multiple DRM's.

Take a look at the ProtectionModel.js file to get a feel for the high level architecture and also at the files using the KeySystem Interface in the DRM's folder, for example KeySystemWidevine.js.

The code in ProtectionController.js ties it all together so another good place to look.

When looking at the code it is worth noting that the terms DRM system and KeySystem are sometimes used interchangeably, which is quite common in the DRM world.

Mick
  • 24,231
  • 1
  • 54
  • 120