Flussonic Media Server documentation

Contents

Widevine DRM

To set up the Widevine DRM for a stream or for files in a VOD location, add the drm parameter as follows:
stream ort {
  url udp://239.0.0.1:1234;
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  drm widevine aes_key=1234512345...45123451234 iv=12345as...45asdfg12 signer=widevine_test;
}

Here:

  • aes_key and iv are required. You can get them in your account at https://www.widevine.com/.

  • content_id is an optional parameter. It sets a unique identifier of the content. By default, content_id is equal to the stream name.

If you use a test key, you need to specify the signer option in the drm directive:

  • signer — a unique ID of the signer. Flussonic uses it to connect to the key server at http://license.uat.widevine.com/cenc/getcontentkey/<signer>.

If you use a production key, you need to specify the keyserver option:

  • keyserver — this option is used to set a custom URL for the Widevine key server. For example, keyserver=http://license.widevine.com/cenc/getcontentkey/<signer>. In this case, the signer parameter is optional because signer is available from the keyserver URL.