All Products
Search
Document Center

ApsaraVideo Live:Configure live monitoring

Last Updated:Feb 21, 2024

You can use the live monitoring feature of ApsaraVideo Live to monitor the quality of live events in real time. The system automatically triggers alerts for issues such as fluctuations in frame rate and bitrate, asynchronous audio and video, high latency, and playback stuttering. This topic describes how to manage live monitoring sessions in the ApsaraVideo Live console.

Prerequisites

Make sure that you configure cross-origin resource sharing (CORS) and an HTTPS certificate for the streaming domain of the monitored streams.

Procedure

  1. Log on to the ApsaraVideo Live console.

  2. In the left-side navigation pane, choose Scenario-based Services > Live Monitoring.

  3. On the Live Monitoring page, select a region and click Add Session.

    Parameter

    Description

    Output Configurations

    Session Name

    Enter a session name.

    Output Resolution

    Select an output resolution from the drop-down list. Multiple resolutions for landscape and portrait orientations are supported.

    Live Center

    Select the live center in the region that you selected.

    Source Domain Name

    Select a domain name from the drop-down list. The domain name is used to play the monitored streams. If no domain names are available, click Add below the drop-down list to add a domain name. For more information, see Add an accelerated domain name.

    Stream Configurations

    Stream for Monitoring

    You can add streams manually, select streams under a domain, or batch upload streams. You can add up to 12 streams.

    • Click Add Manually. Enter a stream name in the Stream Name field and a URL in the Stream URL field. You can sort and delete the streams that you add.

    • Click Select from ApsaraVideo Live Console. Select a domain name from the Domain Name drop-down list and then select the live streams that you want to monitor.

    • Click Batch Upload to upload multiple streams at the same time.

    Notification Configurations

    Notification Method

    • Monitoring Callbacks: Enter a callback URL in the HTTP or HTTPS format.

    • DingTalk Alerts: Enter the URL of a DingTalk chatbot in the HTTP or HTTPS format. You must specify a DingTalk chatbot that you configured to send you live monitoring alerts. For more information, see Configure a custom chatbot.

      Important

      Specify "Alert" as the custom keyword of the DingTalk chatbot. Otherwise, you cannot receive messages from the chatbot.

    Advanced Settings

    • Video Frame Rate Alert Threshold: An alert is triggered when the video frame rate of the monitored stream falls below the product of the threshold and the original frame rate. This parameter is a scale factor. Valid values: (0.0,1.0].

    • Audio/Video Bitrate Alert Threshold: An alert is triggered when the audio/video bitrate of the monitored stream is greater than the product of the threshold and the original bitrate. This parameter is a scale factor. Valid values: (0.0,100].

    • Interruption Duration Alert Threshold: An alert is triggered when the monitored stream is interrupted for a period of time that is longer than the threshold. Valid values: integers within the range of (0,65535].

  4. Click OK. The Monitoring Session page appears.

  5. Start monitoring.

    On the Monitoring Session page, find the session that you added and click Start Monitoring in the Actions column. After monitoring starts, you can click Preview to go to the monitoring page.

    Important

    After you close the monitoring page, the Monitoring Status column still displays Monitoring and billing continues. To stop monitoring and avoid unnecessary fees, click Stop Monitoring in the Actions column.

    11

API reference

Live monitoring