This topic describes how to manage production studio instances in the ApsaraVideo Live console.

Background information

The production studio service is available in the China (Shanghai), China (Beijing), and Singapore regions. More regions will be supported. This topic describes how to create, delete, configure, view, and duplicate production studio instances.

Create a production studio instance

    1. Log on to the ApsaraVideo Live console. In the left-side navigation pane, click Production Studios to go to the production studio page. Then, select a live center in which you want to create a production studio instance from the drop-down list. Production Studios
    2. Click Add Studio Instance. In the dialog box that appears, enter a name for the instance in the Name field and specify the instance type. 1
  • You can purchase a production studio instance based on your business requirements. For more information, see Enable the production studio feature. After you purchase a production studio instance, the instance is displayed in the production studio list on the Production Studio Management page.
    Important
    • You can create only one pay-as-you-go production studio instance in production studio.
    • By default, you can create up to 50 subscription production studio instances.
    • The production studio service is available in the China (Shanghai), China (Beijing), and Singapore regions. More regions will be supported.
    If you no longer require a production studio instance, you can delete the instance. On the Production Studio Management page, find the production studio instance that you want to delete. Then, choose More > Delete in the Actions column to delete the production studio instance. Delete

Configure a production instance

The first time you create a production studio instance and enter the production studio page, the production studio settings dialog box is displayed. You can also click Live Stream Settings in the upper-right corner of the production studio page to open the Studio Settings dialog box. Perform the following steps to configure a production studio instance:

  1. Log on to the ApsaraVideo Live console. In the left-side navigation pane, click Production Studios to go to the Production Studio Management page.
  2. On the Production Studio Management page, find the production studio instance that you want to configure and click Open in the Actions column. Open
  3. In the upper-right corner of the production studio page, click Live Stream Settings. Live Stream SettingsIn the Studio Settings dialog box, configure the production studio instance. Studio Settings
    Parameter Description
    Domain Select a domain name that is bound with a CNAME record from the Domain drop-down list.
    Output Select the original resolution of the live stream from the Output drop-down list. Valid values: Low Definition 360P (640 × 360), Standard Definition 480P (854 × 480), High Definition 720P (1280 × 720), Ultra High Definition 1080P (1920 × 1080), Portrait Low Definition 360p (640 × 360), Portrait Standard Definition 480p (854 × 480), Portrait High Definition 720p (1280 × 720), and Portrait Ultra High Definition 1080p (1920 × 1080).
    Transcoding Specifications
    • Low Definition
    • Standard Definition
    • High Definition
    • Ultra High Definition
    Select one or more transcoding specifications for the live stream. Valid values: Low Definition, Standard Definition, High Definition, and Ultra High Definition.
    Note The resolution of the transcoded stream cannot exceed the resolution of the original stream. For example, if you select Low Definition for Transcoding Specifications, you can switch only between original quality and low definition during playback.
    Recording Optional. Turn on Recording to record live streams.
    1. Specify the Object Storage Service (OSS) bucket in which you want to store the recorded files.
      Note You can store the recorded files only in an OSS bucket that resides in the same region as the production studio instance. Cross-region recording is not supported.
    2. Select one or more formats of the recording files.
    3. Specify the recording length. If you set Recording Length to 10 minutes, the system generates a recording for a live stream every 10 minutes.
    Stream Delay Optional. Turn on Stream Delay to configure a delay for the output. The delay can range from 15 to 300 seconds.
    Standby Video Optional.
    • Live Stream: Select Select Live Stream or Enter Streaming URL to specify a backup video.
    • VOD Resource: Click Select on the right of Standby Video and select a video from the Video and Audio page in the ApsaraVideo VOD console. The selected video is played before live streaming starts or when an exception occurs during live streaming.
      Important If you use videos from ApsaraVideo VOD as video sources or standby videos, the videos must be stored in the same region as the production studio instance. For example, if the production studio instance resides in the China (Shanghai) region, you can use only ApsaraVideo VOD videos that are stored in the China (Shanghai) region as video sources or standby videos.production studio
    Multi-way Stream Relay Optional. Click Add URL to add a relay URL.
    Important
    • After you add or delete a relay URL, the stream relay settings take effect only after you restart PGM.
    • If your live stream uses the features of a third-party platform, additional fees for stream relay are generated. For more information, see Billing of stream relay.
  4. Click OK. The settings for the production studio instance are configured.

View the settings of a production studio instance

  1. Log on to the ApsaraVideo Live console. In the left-side navigation pane, click Production Studios to go to the Production Studio Management page.
  2. On the Production Studio Management page, find the instance that you want to view and click View Settings in the Actions column. Then, view the settings of the production studio instance on the Studio Settings panel.
    For information about how to modify the settings, see Configure a production instance. Studio SettingsInstance configurations
    Parameter Description
    Domain Name The streaming domain of the production studio. By default, you can select an existing domain name as the streaming domain. If you want to use a new domain name, add the domain name on the Domain Management page. For more information, see Add a domain name.
    Recording By default, the recording feature is not enabled. If you enable the recording feature, the system automatically records the live stream and stores the recording files in the specified OSS bucket.
    Standby Video The standby video is played before live streaming starts or when an error related to the video source occurs.
    Stream Delay The delay of the streaming output. The delay can be 15 to 300 seconds.
    Streaming Information The streaming URL. After you specify the Output and the Transcoding Specifications parameters, the system automatically generates streaming URLs over different protocols in different transcoding formats, such as low definition, standard definition, high definition, and ultra-high definition.
    • The input stream URL of a production studio instance is generated based on the following rule:

      By default, the AppName parameter in the input stream URL of a production studio instance is caster and the value of the StreamName parameter is generated by the production studio. Only one stream name is generated for each production studio instance.

    • The output stream URL of a production studio instance is generated in the following format:

      Protocol header://{The streaming domain that you specified when you configured the settings for your production studio instance}/caster/{Stream name}? auth_key={The access token that is generated by production studio based on the cryptographic key and expiration time of the streaming domain}. The following table describes sample URLs.

    Input stream URL Flash Video (FLV) http://example.aliyundoc.com/caster/6cb1ce433a574acabe00b41a4406****.flv?auth_key=1609159424-0-0-a0ca55b2252681e0affe69736e14****
    Real-Time Messaging Protocol (RTMP) rtmp://example.aliyundoc.com/caster/6cb1ce433a574acabe00b41a4406****?auth_key=1609159424-0-0-abddd80d6bb55e19bdc867092b35****
    M3U8 protocol http://example.aliyundoc.com/caster/6cb1ce433a574acabe00b41a4406****.m3u8?auth_key=1609159680-0-0-60305f41884b21ae29af12c29acc****
    Output URL of a stream that is transcoded to standard definition. Naming conventions for the suffix of a stream name and the suffix of a transcoded stream name must be the same. Flash Video (FLV) http://example.aliyundoc.com/caster/6cb1ce433a574acabe00b41a4406****_lsd.flv?auth_key=1609159936-0-0-968bd8893f325a957f75d17d33aa****

Duplicate a production studio instance

A production studio instance involves multiple configuration items. You can duplicate an existing production studio instance to create a production studio instance that has the same configurations.
  1. Log on to the ApsaraVideo Live console. In the left-side navigation pane, click Production Studios to go to the Production Studio Management page.
  2. On the Production Studio Management page, find the instance that you want to duplicate and choose More > Duplicate in the Actions column. Duplicate
  3. In the Duplicate Studio Instance dialog box, change the name in the Name field and click OK. Instance