W3C standard for achieving Digital Rights Management (DRM) for audio and video content in the browser through a JavaScript API and proprietary Content Decryption Modules (CDM). Use this tag for developing CDM and using it through JavaScript. Preparing content with existing tools should be asked on Super User.
Questions tagged [eme]
27 questions
20
votes
1 answer
Encrypted Media Extensions in HTML5 video
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…

daniel0mullins
- 1,937
- 5
- 21
- 45
9
votes
1 answer
How to implement Clear-Key video encryption in PHP and play it in HTML
I want to implement video encryption in php and play encrypted video in HTML5 video. I have read some documents about it:
https://en.wikipedia.org/wiki/Encrypted_Media_Extensions
https://w3c.github.io/encrypted-media/
And I know there are…

Ali Farhoudi
- 5,350
- 7
- 26
- 44
6
votes
0 answers
EME with Clear key is not working with Pre-Signed URL of an encrypted audio file stored in S3
I have implemented EME using clear key, following practical guide at:
https://www.html5rocks.com/tutorials/eme/basics/
I have encrypted an audio using webm-encrypt npm package, by providing it a key and webm audio file. Same key I'm using in my…

Naman Parashar
- 188
- 1
- 9
5
votes
2 answers
Widevine DRM - Body request payload
I'm working on the integration of a player which have to play streams secured with Widevine DRM in a browser.
I've checked some well-known players :
DashJs - https://github.com/Dash-Industry-Forum/dash.js/wiki
ShakaPlayer -…

hixe
- 53
- 1
- 4
3
votes
1 answer
Shaka packager doesn't encrypt assets
I am just unable to figure out how shaka player is able to decrypt my CENC protected content even though I am providing invalid decryption keys in player config.
player.configure({
drm: {
clearKeys: {
'6FepeJBbmaiozSMs18vPfA==':…

Suhayb
- 3,163
- 3
- 23
- 30
2
votes
1 answer
Android WebView and Widevine Persistent Licenses not supported?
I am working on an app that has an embedded WebView to play back DRM-protected content. While I can get the content to play correctly using Widevine, I cannot create an EME KeySystem that allows for persistent licenses (sessionTypes:…

Chris
- 31
- 2
2
votes
1 answer
Example Encrypted Media Extensions encryption
I am new to Encrypted Media Extensions. Is any one have the Encrypted Media Extensions Example or any other link for playing the video in the browser?

Hrishikesh
- 299
- 1
- 14
2
votes
1 answer
How to use HTML5's Encrypted Media Extension without video
OK - so I understand that the Encrypted Media Extensions (EME) is all about video decrypting for the developer.
My understanding is that EME detects when encryption is present, gets the appropriate key (with license) decrypts the content and passes…

David Mawer
- 137
- 1
- 9
1
vote
0 answers
How does EME protect copyright for DRM?
I am trying to explain the Encrypted Media Extensions (EME) API on my programming reference website.
After getting the encryption and decryption to work on a video file, I started to wonder how the EME API is going to protect the copyright of a…

Chong Lip Phang
- 8,755
- 5
- 65
- 100
1
vote
1 answer
Video decryption process when using EME with ClearKey
While doing some research on secure video delivery technologies and DRM I was not able to understand the differences between using EME + ClearKey with key configured in a player itself (like this option from BitMovin) or getting the key from license…

highandmighty
- 11
- 2
1
vote
1 answer
Is it possible to allow for offline playback without using the "persistent-license" type?
Using a browser compatible with Encrypted Media Extensions, is it possible to save any piece (or pieces) of data that allow for offline playback, without relying on the persistent-license type?
For example, if you could capture the response from the…
user773737
0
votes
0 answers
Can I use Twilio video js sdk's rtc stream and convert it into an HLS or DASH?
I've been looking for a while now and scanning the Twilio documentation, I haven't found any resource pointing to this, but I'm hoping someone has any ideas if this can be achieved.
My end goal would be to be able to use twilio video js' underlying…

Jojo Narte
- 2,767
- 2
- 30
- 52
0
votes
0 answers
video-js-contrib-eme can't get initializeMediaKeys to work
In our use case, we need to reuse the same license for multiple sources for different videos, I came across the initializeMediaKeys function, but when called with the following emeOptions:
var emeOptions = {
keySystems : {
…

Marcox
- 102
- 10
0
votes
0 answers
Xamarin Android WebView EME API
Does Xamarin Android WebView have access to the EME API?
If not can it be activated?
If it can't be activated, is there anything similar to WebView that has access to the EME API?

ackhack
- 11
- 4
0
votes
2 answers
"encrypted" event not firing albeit feeding source buffer with cenc mp4 data
I am trying to understand how DRM systems work so my journey begins by trying to play a cenc encrypted mp4 video using the Clear Key DRM system without using any library like dash.js or Shaka Player.
The first problem I encountered is that I do not…

Blubberlase
- 29
- 1
- 8