PallyCon DRM Configuration | 0.16.4.0+

OvenMediaEngine Enterprise supports Commercial DRM Provider integration into LLHLS streams starting from version 0.16.4.0-1.

PallyCon DRM Settings

Configuration in DRM Info File

OvenMediaEngine Enterprise supports integration with PallyCon, allowing easy DRM application to LLHLS streams. Configure the DRM Info File (.xml) as follows:

<?xml version="1.0" encoding="UTF-8"?>

<DRMInfo>
    <DRM>
        <Name>Pallycon</Name>
        <VirtualHostName>default</VirtualHostName>
        <ApplicationName>app</ApplicationName>
        <StreamName>stream*</StreamName> <!-- Can be wildcard regular expression -->

        <DRMProvider>Pallycon</DRMProvider> <!-- Manual(default), Pallycon -->
        <DRMSystem>Widevine,Fairplay</DRMSystem> <!-- Widevine, Fairplay -->
        <CencProtectScheme>cbcs</CencProtectScheme> <!-- cbcs -->
        <ContentId>${VHostName}_${AppName}_${StreamName}</ContentId>
        <KMSUrl>https://kms.pallycon.com/v2/cpix/pallycon/getKey/</KMSUrl>
        <KMSToken>xxxx</KMSToken>
    </DRM>
</DRMInfo>

Set <DRMProvider> to Pallycon and configure the necessary information as shown in the example. The <KMSUrl> and <KMSToken> values are provided by the PallyCon console. The <ContentId> can be created using VHostName, AppName, and StreamName macros.

Checking Applied DRM

Checking applied DRM in Settings

To verify the DRM settings, click the Settings icon at the top right of the Web Console. In the displayed screen, select the Streaming tab and click on the LLHLS sub-item to view the DRM configurations.

Checking applied DRM in OvenPlayer

OvenPlayer Demo now includes the Enable DRM option. You can test the applied DRM using the Egress URL provided by OvenMediaEngine Enterprise.

To find the Egress URL, go to the Stream Monitoring screen in the Web Console and click on the URLs tab. Enter the items such as Egress URL, License URL, Key, and Value into the OvenPlayer Demo to test the DRM.

Last updated