Skip to main content

Setup DRM from MCP

MCP is a feature complete OTT Platform owned by Akta Tech. You can add DRM to your content in MCP. The configured DRM is automatically detected and handled by Lura Player from the appKey in the configuration. No additional configuration is needed.

To configure DRM in MCP, go to your mcp.

Create DRM Keyset

Under the Transcodings tab, go to DRM Keysets

Press create new drm keyset button

Fill the title, and enable your preferred drms.

After enabling, fill the fields with your drm details, and press create button.

Create License Policies

Under the Play Services tab, go to License Policies

Press add new button

Fill the title and description

After filling the title and description, enable your preferred drms, and press create

Play Configurations

After creating the drm keyset and license policy, go to play configurations under the Play Services

Press Add New

After filling the Name of the play configuration, press on Show Advanced Options

Select DRM Keyset and License policy that you have created earlier

After creating the play configuration, you can implement your video with the appKey and assetId that you have created, and it will start showing ads.

const config = {
...
lura: {
appKey: "APP_KEY",
assetId: "ASSET_ID"
}
...
};
const player = new lura.Player();
player.setConfig(config);