You can apply BuyDRM KeyOS CPIX DRM to your output with our API. You should generate public and private keys in BuyDRM's KeyOS Console, and then just add them to your API request.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>[OutputFormat]</output> <!-- required-->
<buydrm_cpix_drm>[yes|no]</buydrm_cpix_drm>
<buydrm_cpix_content_id>[ContentID]</buydrm_cpix_content_id>
<buydrm_cpix_private_key>[PrivateKey]</buydrm_cpix_private_key>
<buydrm_cpix_cert>[PublicKey]</buydrm_cpix_cert>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[Action]",
"source": "[SourceFile]",
"format": {
"output": "[OutputFormat]",
"buydrm_cpix_drm": "[yes|no]",
"buydrm_cpix_content_id": "[ContentID]",
"buydrm_cpix_private_key": "[PrivateKey]",
"buydrm_cpix_cert": "[PublicKey]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
buydrm_cpix_drm | Enable BuyDRM CPIX KMS | yes, no | no |
buydrm_cpix_content_id | BuyDRM CPIX Content ID | string | none |
buydrm_cpix_private_key | BuyDRM CPIX Private Key | string | none |
buydrm_cpix_cert | BuyDRM CPIX Public Key | string | none |
Note
BuyDRM only works with advanced multibitrate output formats.