Follow these steps to use this API:
Create a new origin and select features such as multi-account and multi-CDN.
Create a stream, using the live origin you created.
Get all of the origins from the List live origins operation and provide the CP code associated with the origin in the stream creation request. The encoder zone should also match the origin location.
Create a stream with a new live origin along with the stream settings. Get an
unusedCP code from List CP codes and provide it in the stream creation request.
Create the Adaptive Media Delivery (AMD) property with the Origin Type as Media Services Live in the Origin Server Behavior section.
You can retrieve these fields to create a stream:
Run List CP codes List CP codes] to get the value of the
Run List contracts to get the value of the
Run Generate a key to obtain the
Run List CDNs to obtain the CDN
To disable the multi-account and multi-CDN features, make a PUT call
with an empty object in the request body.
These endpoints are deprecated. Do not use them: