Flussonic Media Server documentation

Contents

EzDRM

Two kinds of key exchange for EzDRM are supported:
  • EzDRM with the CPIX format for key transfer
  • EzDRM with the internal EzDRM format for key transfer.

Setting up EzDRM (with CPIX based key exchange)

To set up EzDRM that uses CPIX, for a stream or files in a VOD location, add the drm ezdrm parameter as follows:

stream ort {
  url udp://239.0.0.1:1234; 
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  drm ezdrm password="password" user="user@ezdrm.com";
}

Where:

  • user and password are required. You can get them via your account at https://www.ezdrm.com.

Additionally, you can specify the meta drm_id option — it will be used instead of the stream name in requests for playback.

stream ort {
  url udp://239.0.0.1:1234; 
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  meta drm_id 12345asdfg12345asdfg12345asd;
  drm ezdrm password="password" user="user@ezdrm.com";
}

Setting up EzDRM (using the native format of key exchange)

To set up EzDRM using EzDRM's native format for key transfer, add the drm ezdrm_classic directive to the configuration entry with the following parameters:

stream ort {
  url udp://239.0.0.1:1234;
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  drm ezdrm_classic password="password" user="user@ezdrm.com";
}

Where:

  • user and password are required. You get them via your account at https://www.ezdrm.com.

Additionally, you can specify the meta drm_id option — it will be used instead of the stream name in requests for playback.

stream ort {
  url udp://239.0.0.1:1234; 
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  meta drm_id 12345asdfg12345asdfg12345asd;
  drm ezdrm password="password" user="user@ezdrm.com";
}