Navigating HTML5 Encrypted Media Extensions
summary
Practical EME gotchas and fixes: common deployments hit double license requests when the server certificate is omitted, fixed by calling setServerCertificate with the provider's bytes; security levels matter (Widevine hardware vs software, FairPlay/PlayReady identifiers) and affect UHD playback and simultaneous players; encrypted events fire per init segment and can duplicate keys, plus Widevine key rotation returns adjacent keys so extra license fetches are sometimes required; watch for keystatuschange events and HDMI HTCP drops that revoke usable keys.
AI-written summary · about
chapters (9)
- 0:00EME and DRM challenges
- 1:08MediaKeySystemAccess basics
- 2:56Key system config and init data
- 4:44Server certificates and security
- 7:54Security levels and hardware limits
- 9:19License flow and encrypted events
- 10:44Key status updates and duplicate requests
- 11:47Key rotation in live streams
- 12:29Error handling in dynamic environments
related talks
44mEME? CDM? DRM? CENC? IDK!
37mDigital Rights Management: The Good, The Bad, and The Ugly
58mModern & secure adaptive streaming on the Web
45mModern & secure adaptive streaming on the Web
13mSecurity Theater: Moving Beyond Performative Content Protection
28mEME? CDM? DRM? CENC? IDK!
31mIn a Perfect World: Why Media Sources Are a Hassle
46mModern & secure adaptive streaming on the Web
