Create direct upload ID & direct upload URL for session / exhibitor / lobby. For direct upload session/exhibitor/lobby, first, you need to create direct upload assets on MUX. To do this you need to call this API which will prepare direct upload assets on MUX and will return
directUploadUrl in response.
directUploadId is a unique reference to uploaded video, and it can be used to get further details about created assets to check this API (
directUploadUrl is an endpoint where the uploaded video will be stored and used by MUX. Once assets are prepared using this API in the next step, you need to upload a video (
https://docs.mux.com/guides/video/upload-files-directly) to directUploadUrl for streaming.
To call this API you need to send
sessionId as path parameters.
For creating direct upload assets for exhibitor/lobby users, need to pass 0 as
sessionId in the path parameter in this API.
This API can be used by authenticated users only, and it will require super admin/admin/staff level access.
Here is the description of response attributes, which returns to the form of JSON.
Unique identifier for the Direct Upload.
The URL to upload the associated source media to.
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
The request could not be understood by the server due to malformed syntax.
You are not authorized to view the resource.
Accessing the resource you were trying to reach is forbidden.
The resource you were trying to reach is not found.
Not Event Host
Mux live stream can not create upload url.