Flussonic Media Server supports Axinom DRM Key Service integration using SPEKE v2 protocol

Flussonic

Flussonic Media Server is a video streaming server software for a wide variety of tasks that include mass storage, transcoding, live and on-demand video delivery as well as access to the flow control. The media server can be installed on any Linux server machine.

Since the version 23.11, Flussonic Media Server support Axinom DRM.

Pre-requisites

To use Axinom DRM:

  • Register on the Axinom Portal

  • Start a free trial

  • Go to My Mosaic / DRM and acquire credentials

  • You will need the following information:

  • Once you are ready to go to production, upgrade your Axinom account to a paid plan.

For later playback you will also need:

  • Communication Key ID

  • Communication Key

Configuration in Flussonic

You can supply DRM configuration for your stream or VOD profile using either UI or a config file.

In a config file:

stream example_stream {
  input udp://239.0.0.1:1234;
  protocols dash hls;
  drm axinom keyserver=https://key-server-management.axprod.net/api/Speke management_key=<Key Service Management Key> resource_id=UUID tenant_id=<Key Service Tenant ID>;
}

In the UI, you have the same parameters to set; just select "Axinom" from the list of supported DRM systems.

resource_id is an identifier of a stream/video. It corresponds to an id in SPEKE (content_id in SPEKE v2). You can leave it empty to allow Flussonic generate it for you by stream or file name, but in this case it will change when stream or file name change.

A unique single keyId (kid) is generated for each stream/video by Flussonic automatically based on the provided resource_id.

The generated value can be seen from the generated manifest file. For example:

curl -s https://FLUSSONIC-IP:PORT/example_stream/index.mpd | grep default_KID

Testing Playback

Once you have produced a DRM-protected video or stream, you can test the playback using Axinom’s DRM Video Playback tool. Hints for filling out the form:

  • Video Source URL: the URL of the generated manifest file, e.g., https://FLUSSONIC-IP:PORT/example_stream/index.mpd

  • Content Keys: the Key ID (kid) generated by Flussonic. You don’t need to specify the key value (you don’t even have it)

  • Communication Key and Communication Key ID: The values you received from Axinom DRM configuration (see the pre-requisites above)

  • License Service: keep defaults (or enter the value you received from Axinom DRM configuration)

  • Player: pick any

See also