Announcing support of DRM Widevine, Playready and Fairplay for HLS and MPEG-Dash
September 07, 2018 Features
New API version: 2018-09-05
We are pleased to announce the support of the well known DRM Widevine, Playready and Fairplay for HLS and MPEG-Dash. You will be able to protect your content no matter the target platform with just a couple of new line in your config file.
Here is how you can protect your files using Widevine and Playready DRM:
var widevine_pssh = htb3ZpZVjRG9ubDQHRhPY2NaE65qWBi3cQQs2yGgLI0iZNUjSIQ0gkxEh7mH9WEj3JWbBg== var playready_laurl = https://playready.ezdrm.com/cency/preauth.aspx?pX=ECD463 var dash_encryption_key = d21875b042cddb98018d7f6b7718ddb2:be02128f059b70c9e6a2e9d02ae64e14 -> httpstream = $s3/, dash=dash/, playlist_name=master, dash_widevine_pssh=$widevine_pssh, dash_playready_laurl=$playready_laurl, dash_encryption_key=$dash_encryption_key
To use Fairplay DRM, it's simple as AES-Encryption, except you need to set the HLS Encryption mode to SAMPLE-AES:
var hls_encryption_key = d013b7710d187bd8d8d6987f5b42cdb2:be260ec912d4e9f020e68e59b7a2a014 var hls_encryption_key_uri = skd://fps.ezdrm.com/;1XXXXXX0-c7ed-4XXX-b15c-XXXXXXXXXa25 -> httpstream = $s3/, hls=hls/, playlist_name=master, hls_encryption_mode=SAMPLE-AES, hls_encryption_key=$hls_encryption_key, hls_encryption_key_uri=$hls_encryption_key_uri
You can learn more about HTTPStream output here.
Any Comment? Contact us via our contact page