Flussonic Media Server documentation

Contents

BuyDRM's KeyOS Platform

BuyDRM

BuyDRM's KeyOS platform is a multi-DRM provider that allows you to protect video content with several DRM technologies.

You can encrypt your content for HLS or DASH delivery with BuyDRM.

Flussonic is acting as online packager. It means that you keep your original content untouched on disk and can even serve to some users without protection if it is required, but for outer world Flussonic will encrypt ondemand.

Flussonic supports encrypting live streams and VOD files.

First you need to get User Key from BuyDRM. It is a unique identifier that will be used in the userkey parameter of the drm directive.

Configure DRM for stream or VOD location as follows:

stream ort {
  url udp://239.0.0.1:1234;
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  meta drm_id 536f6d65-2063-6f6e-7465-6e745f696420;
  drm keyos userkey=596f7572-2075-7365-725f-6b6579202020;
}

file drm {
  path /storage/vod;
  hds off;
  rtmp off;
  rtsp off;
  mpegts off;
  drm keyos userkey=596f7572-2075-7365-725f-6b6579202020;
}

The userkey parameter defines the User Key provided by KeyOS, so just copy-paste it from the KeyOS web interface.

Next thing is KeyID. It is a UUID, that you will need to generate for each stream or file that you want to protect.

If you use the same KeyID for multiple videos, a single license would be enough to decode the whole group.

Put this generated KeyID into the meta directive in the live stream's config entry, meta drm_id <KeyID>.

When a VOD file at /path/to/vod/content.mp4 is accessed, Flussonic will read the KeyID from the /path/to/vod/content.mp4.keyos_id file.

So, you will need to create a /path/to/vod/content.mp4.keyos_id text file containing the UUID. If your file is called /storage/Gattaka.mp4 for example, then you will have to create a file called /storage/Gattaka.mp4.keyos_id.

Here is an example of creating a KeyID from the command line:

$ uuid > /storage/Gattaka.mp4.keyos_id