Retry video processing
retry_video_processingStart the HLS encode of a video whose stream_url is null. Starts one unless one has already finished — whether the last attempt failed, died on its way to the encoder, or was never made at all. A workspace that encodes every video on upload needs it only for an encode that failed or stalled. Other workspaces encode on request, and this is the request: reading the asset does not start one. stream_url fills in a few minutes after the call. CALL IT ONCE, NOT IN A LOOP: it cannot tell a running encode from a dead one, so calling it again while one is under way queues a second job. To wait for a result, poll get_asset and watch stream_url. An error back means the encode already succeeded, or the workspace's plan does not stream video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Asset token of the video | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |