Direct Upload to Ready Asset
A 3-step recipe with Mux. We can help you get access.
Recipe · 3 steps
Direct Upload to Ready Asset
with Mux · Media Asset Management
Works with AI assistants
Create a direct upload, wait for the asset to be created, and wait for it to become ready.
- 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.
- Poll the upload until Mux has finished ingesting the PUT file and created an asset, exposing the new asset id.
- Poll the asset created by the upload until its status reaches ready, meaning playback IDs can be streamed.
What you'll need to have ready
- corsOrigin: The web origin allowed to PUT to the returned upload URL (e.g. https://example.com).
- playbackPolicy: Playback policy applied to the asset created from this upload (public or signed).
For your developer
Arazzo workflow mux-com:direct-upload-to-asset, 3 operations: createUpload → getUpload → getAsset. Specs on APIs.io.