Skip to main content
Skip table of contents

scrambleAsset

Input Parameters

FieldsValuesDescription
NameName of an asset in the todolist The name of the asset (used as filename)
CAVendorid 
For simulcrypt, handles the multiple vendor id. The format of the strings as per the example; different vendor id separated with semicolon.
ACSET
Holds the Access Criteria in hexstring format for the relevant asset in the format as described in ‘IA supported Access Criteria in DVB Simulcrypt Protocols’ doc number [711434].The PES performs a hexstring to binary conversion to communicate this value to the ECMG.
DELETEYes or NOSpecifies whether to delete the clear asset after scrambling is complete (optional)
DestinationURLAny valid FTP URLSpecifies whether to FTP Put the scrambled asset onto the VOD server after scrambling is complete. Required for the PES to send the Asset to the Origin server via FTP.

Output Result

FieldsValuesDescription
CommandnewAssetEEcho of the command element
Code
-1 
1
0 = success 
-1 = DTD Violation 
1 = Processing Error
URLAn ftp URL (ftp://xxx/yyy)URL of format-specific scrambled or re-scrambled asset file.

Processing Errors

  • "Not a master manager”  - MAS connected to a slave manager
  • "CAvendorId isn't a valid number"
  • "Asset not in todolist”
  • "Asset has incorrect status (...)"
  • "No ECMGs configured:"
  • "ECMG not available"
  • "Failed to start scrambler (on...)"
  • "Internal error …”
  • "No scrambler available"
  • “empty asset’s name” 
  • "Vendor id and AC is incorrect"

Examples

Request

CODE
<scrambleAsset Name="filename.ts" 
CAvendorid="0x0604"  
ACSET="9010002690110001019014000200019013000200019012000200019016000b9017000100901800020001"
DestinationURL = “ftp://[email protected]/scrambled/“ />

Response On Success

CODE
<Result Command="scrambleAsset" Code="0"/>

Response On Failure

CODE
<Result Command="scrambleAsset" Code="1">      
<Description>No such asset</Description>   
</Result>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.