Mux · Arazzo Workflow
Mux Direct Upload to Ready Asset
Version 1.0.0
Create a direct upload URL, poll the upload until Mux creates an asset, then poll the asset until it is ready to play.
View Spec
View on GitHub
Video InfrastructureVideo StreamingLive StreamingVideo AnalyticsVideo AIEncodingArazzoWorkflows
Provider
Workflows
direct-upload-to-asset
Create a direct upload, wait for the asset to be created, and wait for it to become ready.
Creates a direct upload URL with new asset settings, polls the upload for an asset_id, then polls the resulting asset until it reaches the ready state.
1
createUpload
create-direct-upload
Create a new direct upload, returning a signed URL the client uses to PUT the source file plus the upload id used to track ingest progress.
2
waitForAsset
get-direct-upload
Poll the upload until Mux has finished ingesting the PUT file and created an asset, exposing the new asset id.
3
waitForAssetReady
get-asset
Poll the asset created by the upload until its status reaches ready, meaning playback IDs can be streamed.