Monitoring Job Status
To determine the encoding status of a AOD, you can utilize the following API:
This API call will provide the latest encoding status of the specified AOD. The response will include a AOD object containing various information, including the current status.
The possible status values and their corresponding descriptions are as follows:
Status | Description |
---|---|
AOD_STATUS_CREATED | The encoding job has been created. |
AOD_STATUS_INGESTED | The uploaded file is currently being copied to the system's input storage. |
AOD_STATUS_QUEUED | The file is in the queue, waiting for encoding resources. |
AOD_STATUS_ENCODED | The file is currently being encoded. |
AOD_STATUS_DEPLOYED | The file is packaged and deployed to the Content Delivery Network (CDN). |
AOD_STATUS_SUCCEEDED | All stages of the encoding process have been completed. |
AOD_STATUS_FAILED | The encoding job has encountered an error or failure. |
AOD_STATUS_CANCELLED | The encoding job has been canceled. |
AOD_STATUS_DELETED | The encoding job has been deleted. |
It is recommended to use this API periodically to retrieve the latest encoding status of a AOD until it reaches the AOD_STATUS_SUCCEEDED
state, indicating successful completion.