Callback
When the video state changes, a JSON callback will be sent back to your URL as a POST request. Below is an example object that will be sent.Status list
Below are the possible status codes sent with the webhook:- 0 - Queued: The video has been queued for encoding.
- 1 - Processing: The video has begun processing the preview and format details.
- 2 - Encoding: The video is encoding.
- 3 - Finished: The video encoding has finished and the video is fully available.
- 4 - Resolution finished: The encoder has finished processing one of the resolutions. The first request also signals that the video is now playable.
- 5 - Failed: The video encoding failed. The video has finished processing.
- 6 - PresignedUploadStarted : A pre-signed upload has been initiated.
- 7 - PresignedUploadFinished : A pre-signed upload has been completed.
- 8 - PresignedUploadFailed : A pre-signed upload has failed.
- 9 - CaptionsGenerated : Automatic captions were generated.
- 10 - TitleOrDescriptionGenerated : Automatic generation of title or description has been completed.