scrambleAsset
Input Parameters
Fields | Values | Description |
---|---|---|
Name | Name 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. | |
DELETE | Yes or NO | Specifies whether to delete the clear asset after scrambling is complete (optional) |
DestinationURL | Any valid FTP URL | Specifies 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
Fields | Values | Description |
---|---|---|
Command | newAsset | EEcho of the command element |
Code | 0 -1 1 | 0 = success -1 = DTD Violation 1 = Processing Error |
URL | An 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
<scrambleAsset Name="filename.ts"
CAvendorid="0x0604"
ACSET="9010002690110001019014000200019013000200019012000200019016000b9017000100901800020001"
DestinationURL = “ftp://[email protected]/scrambled/“ />
Response On Success
<Result Command="scrambleAsset" Code="0"/>
Response On Failure
<Result Command="scrambleAsset" Code="1">
<Description>No such asset</Description>
</Result>