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)[https://developer.accelevents.com/reference/create-upload-video-url-for-session] which will prepare direct upload assets on MUX and will return directUploadId
and directUploadUrl
in response.
In the next step, you need to video directUploadUrl
so it will update MUX assets and assetId
will be generated on MUX. We need to get this information back in our system for streaming. To get this information we need to call this API.
You need to send session id
as path parameters and uploadDto
as body parameters.
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.
It will return a success message if API execute successfully.
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |