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 example_stream {
input udp://239.0.0.1:1234;
protocols dash hls;
drm ezdrm password="password" user="user@ezdrm.com";
}
file drm {
path /storage/vod;
protocols dash hls;
drm ezdrm password="password" user="user@ezdrm.com";
}
Where:
user
andpassword
are required. You can get them via your account at https://www.ezdrm.com.
When a VOD file at /storage/vod/content.mp4
is accessed, Flussonic will read the ContentId
from the /storage/vod/content.mp4.ezdrm_id
file.
Additionally, you can specify the meta drm_id
option — it will be used instead of the stream name in requests for playback.
stream example_stream {
input udp://239.0.0.1:1234;
protocols dash hls;
meta drm_id 12345asdfg12345asdfg12345asd;
drm ezdrm password="password" user="user@ezdrm.com";
}
Setting up EZDRM (with the native format of key exchange)
To set up EZDRM that uses EZDRM's native format for key transfer, add the drm ezdrm_classic
directive to the configuration entry with the following parameters:
stream example_stream {
input udp://239.0.0.1:1234;
protocols dash hls;
drm ezdrm_classic password="password" user="user@ezdrm.com";
}
Where:
user
andpassword
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 example_stream {
input udp://239.0.0.1:1234;
protocols dash hls;
meta drm_id 12345asdfg12345asdfg12345asd;
drm ezdrm_classic password="password" user="user@ezdrm.com";
}