Production studio in playlist mode

更新时间:
复制 MD 格式

A playlist mode production studio assembles multiple video programs into a single live stream. You can add, edit, reorder, and remove programs in the playlist.

Prerequisites

Overview

  • Assemble multiple videos into a playlist-based live stream. Create, query, update, delete, and edit programs in the playlist.

  • API operations are available to add, edit, query, and stop programs for quick integration.

  • Each production studio in playlist mode can contain up to 1,000 programs.

Use the console

Add VOD resources, images, and live streams to the playlist. Set playback durations, manage the order, and start streaming.

  1. Log on to the ApsaraVideo Live console. In the left navigation pane, choose Live + > Production Studios.

  2. Find the target production studio and click Open in the Actions column.

  3. A newly created production studio displays the configuration panel on first open. Configure the settings and click OK.

    To reconfigure later, click Live Stream Settings in the upper-right corner. The panel includes Name (up to 32 characters), live center (region, such as China (Shanghai)), and resource group.

    Parameter

    Description

    Domain

    Click the Domain text box. In the Domain drop-down list, select the live streaming domain name that you want to use and for which you have configured a CNAME record.

    Output

    From the Output drop-down list, select the original resolution of the live stream. Options include Low Definition, Standard Definition, High Definition, Ultra High Definition 1080p (1920 × 1080), Portrait Low Definition, Portrait Standard Definition, Portrait High Definition, and Portrait Ultra High Definition 1080p (1080 × 1920).

    Background Settings

    Set the playlist background to a live stream, VOD resource, or image.

    Live Stream

    • Select from ApsaraVideo Live Console: Select a domain name. Available ingest URLs under that domain are displayed. Select one to add it.

    • Enter Streaming URL: Enter a valid live stream URL. Supported formats: RTMP, FLV, and RTS.

    VOD Resource

    • Click Select and select a video from the media library panel that opens.

    Image

    • Select From Media Library: Click Select Image and select an image from the media library panel that opens.

    • Local Upload: Upload a JPG or PNG image from your computer. Maximum file size: 10 MB. The image is stored in the ApsaraVideo VOD media library.

    Note

    The background setting takes effect only if the VOD videos in the playlist are in WebM format.

    Multi-way Stream Relay

    (Optional) Click Add URL to set a destination URL for stream relay.

    Important
    • Changes to relay URLs take effect only after you disconnect and restart the PGM output.

    • Relaying to third-party platforms incurs additional stream relay fees. You get three free relay URLs per domain by default. Additional URLs are billed at the live center stream relay rate. Billing of live center stream relay.

  4. Below the Playlist, click Add to configure a program.

    Parameter

    Description

    Video Source Name

    Optional. Defaults to the asset name.

    Video Source Type

    Select a type:

    • Video

    • Image

    • Select Live Stream

    • Enter Live Stream

    Video

    If Video Source Type is Video, click Select to add a VOD resource from the media library. Specify loop count or loop duration.

    Image

    If Video Source Type is Image, click Select Image to add an image from the media library. Specify the playback duration.

    Domain Name/Live Stream/Streaming URL

    If Video Source Type is Select Live Stream or Specify Live Stream, select an active live stream or enter a URL (RTMP, FLV, or RTS). Specify the playback duration.

    Loop

    Loop settings vary by source type. Configure loop count and playback duration as needed.

    After you complete the configuration, click OK.

  5. Click Start. While streaming, manage playback in real time. Click Stop Live Stream to end the broadcast. Enable Playlist Loop and set repetitions. In the Playlist panel, click +Add to add assets, Start Playback to switch programs, drag to reorder, or click delete to remove items.

    Action

    Description

    Start or stop the live stream.

    Set the number of times the entire playlist loops.

    Switch playback to a specific program.

    Adjust the order of programs in the playlist.

    Add or remove individual programs.

API operations

To integrate using the API:

  1. Call CreateCaster and SetCasterConfig to create and configure a new production studio.

  2. Call AddShowIntoShowList and RemoveShowFromShowList to add or remove programs from the playlist.

  3. (Optional) Call DescribeShowList and ModifyShowList to query playlist details or modify playlist properties.

  4. Call StartCaster to start streaming from the production studio.

  5. Call StopCaster to stop streaming from the production studio.

  6. (Optional) Call InitializeAutoShowListTask to create a scheduled task to automatically start and stop the playlist.

Web SDK

You can also integrate with the Web SDK. Integrate the Live Producer Web SDK.