If Widevine DRM protection is enabled in the processing profile, how can we get a “Widevine Asset ID” for a transcoded asset?
ENVIRONMENT
Device Compatibility
|
Android, iOS, Windows, Mac
|
Operative System
|
N/A
|
Browser
|
N/A
|
Troubleshooting tools
|
N/A
|
Other
|
N/A
|
CAUSE
Generally speaking, users can get asset information by using Backlot API like /v2/assets/(embedcode) . Note that the “Widevine Asset ID” is not included in this result.
Note: “Widevine Asset ID” is a unique ID which is required by Widevine DRM process. A transcoding system should generate / assign it to each asset. The “Widevine Asset ID” may be required when Widevine stream would be used as a remote asset.
HOW TO RESOLVE
Users can get “Widevine Asset ID” from “/v2/assets/(embedcode)/drm_attributes/widevine” Backlot API. This ID is determined by Ooyala Transcode System (OTS) during the initial transcoding. This ID will not be changed, even if the asset was reprocessed.
API Sample:
GET /v2/assets/(embed_code)/drm_attributes/widevine
->
{
"id": "25447739",
"drm_type": "widevine"
}