Livepeer · Arazzo Workflow
Livepeer Upload and Process an Asset
Version 1.0.0
Request a direct upload URL, then poll the asset and task until ready.
View Spec
View on GitHub
VideoLive StreamingVideo On DemandAI VideoDecentralized ComputeGPU NetworkEthereumArbitrumWeb3ArazzoWorkflows
Provider
Workflows
upload-and-process-asset
Request an upload URL, then poll the asset until it is ready or failed.
Requests a direct upload URL for a new asset, captures the upload endpoints and the asset and task IDs, then polls the asset status, branching on the asset processing phase.
1
requestUpload
requestUpload
Request a direct upload URL for the asset. The response includes the direct PUT URL, the Tus resumable endpoint, the placeholder asset, and the processing task.
2
pollAsset
getAsset
Poll the asset by ID and inspect its processing phase. Branch to completion when the asset is ready and to the failure branch when it has failed; otherwise keep polling.
3
getPlaybackInfo
getPlaybackInfo
Once the asset is ready, resolve its playback info so the caller has the VOD playback sources.