Skip to main content

Monitoring Job Status

To determine the encoding status of a VOD, you can utilize the following API:

GET /bv/cms/v1/vods/{id}

This API call will provide the latest encoding status of the specified VOD. The response will include a VOD object containing various information, including the current status.

The possible status values and their corresponding descriptions are as follows:

VOD_STATUS_CREATEDThe encoding job has been created.
VOD_STATUS_INGESTEDThe uploaded file is currently being copied to the system's input storage.
VOD_STATUS_QUEUEDThe file is in the queue, waiting for encoding resources.
VOD_STATUS_ENCODEDThe file is currently being encoded.
VOD_STATUS_DEPLOYEDThe file is packaged and deployed to the Content Delivery Network (CDN).
VOD_STATUS_SUCCEEDEDAll stages of the encoding process have been completed.
VOD_STATUS_FAILEDThe encoding job has encountered an error or failure.
VOD_STATUS_CANCELLEDThe encoding job has been canceled.
VOD_STATUS_DELETEDThe encoding job has been deleted.

It is recommended to use this API periodically to retrieve the latest encoding status of a VOD until it reaches the VOD_STATUS_SUCCEEDED state, indicating successful completion.