All Products
Search
Document Center

ApsaraVideo Live:API guide

Last Updated:Sep 28, 2023

This topic describes how to call API operations to use a production studio in playlist mode and provides relevant 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. Follow this topic to learn how to use a production studio in playlist mode by calling API operations.

  • You can also use the ApsaraVideo Live console to configure and use a production studio in playlist mode. For more information, see Console guide.

Call API operations

The following section describes the API operations that you can call to configure and use a production studio in playlist mode.

  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 a scheduled task that is used to start and stop playing an episode list at specified points in time.

API reference

The production studio feature provides many other API operations that you can call, such as the API operation that lets you query episode lists and the API operation that lets you switch to a specified episode. For more information, see List of operations by function.