Shotstack provides a built in asset hosting service for your generated videos, images and audio files. Assets are stored on a high availability storage system and served globally via a content delivery network (CDN).
Hosting is enabled by default and all assets rendered via the editing API are immediately sent to the hosting service. There is a webhook that posts a callback when the asset arrives at the hosting service and an API that allows you to look up information about the asset and it's availability.
Assets are hosted with the following URL format:
Where the following parameters need to be replaced with:
|REGION||The only region currently available is |
|STAGE||The staging environment: |
|OWNER_ID||The owner or key ID. This is the |
|FILENAME||The asset filename to serve to users|
An example URL looks like the following:
The Shotstack hosting service is setup by default and does not need to be setup or configured.
The Shotstack hosting service is built in to the Shotstack platform and does not require credentials.
All assets created by the editing API are automatically sent to the Shotstack hosting service. You do not need to add or edit the output destinations parameter unless you want to opt-out from hosting.
Opting out from the Shotstack destination
By default all generated files are sent to the Shotstack destination. If you transfer files to your own hosting or storage provider you may wish to opt out from hosting your videos with Shotstack using:
The exclude value of
true will not send videos to Shotstack.