This topic describes how to call API operations to use a production studio in playlist mode and provides the link of the API reference.
Prerequisites
- The production studio feature is enabled. For more information, see Enable the production studio feature.
- A domain name for which you want to perform production is added, and a canonical name (CNAME) record is configured for the domain name. For more information, see Add a domain name and Configure a CNAME record in Alibaba Cloud DNS.
- A domain name used for the live streaming of your video source is added to ApsaraVideo Live, and a CNAME record is configured for the domain name. These operations are required only if you select your video source from the ApsaraVideo Live console. For more information, see Add a domain name and Configure a CNAME record in Alibaba Cloud DNS.
- A domain name is added to ApsaraVideo VOD, and a CNAME record is configured for the domain name. These operations are required only if you select your video source from the media asset library. For more information, see Add a domain name for CDN and Configure a CNAME record in Alibaba Cloud DNS.
- You understand the API operations that are related to the production studio feature, as described in Developer guide.
Background information
- The API operations provided by the production studio feature allow you to perform a series of operations. For example, you can add an episode to an episode list, edit an episode, modify an episode list, query details of an episode list, and stop the playback of an episode list. This topic describes how to use a production studio in playlist mode by calling API operations.
- If you want to use the production studio in playlist mode in the ApsaraVideo Live console, see Console guide.
Procedure
You can call API operations to create and use a production studio in playlist mode by performing the following steps:
- Call the CreateCaster and SetCasterConfig operations to create and configure a production studio in playlist mode.
- Call the AddShowIntoShowList or RemoveShowFromShowList operation to add an episode to or remove an episode from an episode list.
- Optional. Call the DescribeShowList operation to query the details of an episode list. Call the ModifyShowList operation to modify the attributes of an episode list.
- Call the StartCaster operation to start a production studio in playlist mode.
- Call the StopCaster operation to stop a production studio in playlist mode.
- Optional. Call the InitializeAutoShowListTask operation to create an episode list that is automatically played in a specific time period.
API reference
The production studio feature also provides API operations that you can use to query episodes and play a selected episode. For more information, see List of operations by function.