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 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: