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

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:

  1. Call the CreateCaster and SetCasterConfig operations to create and configure a production studio in playlist mode.
  2. Call the AddShowIntoShowList or RemoveShowFromShowList operation to add an episode to or remove an episode from an episode list.
  3. 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.
  4. Call the StartCaster operation to start a production studio in playlist mode.
  5. Call the StopCaster operation to stop a production studio in playlist mode.
  6. 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.