All Products
Search
Document Center

ApsaraVideo Live:Live URL generator

Last Updated:Sep 29, 2024

This topic describes how to use the live URL generator to generate ingest and streaming URLs.

Prerequisites

Background information

  • The live URL generator can generate ingest URLs and streaming URLs, including streaming URLs for the original quality stream and the transcoded stream. You must configure a transcoding template before you generate streaming URLs for the transcoded stream.

  • A streaming URL can be used by ApsaraVideo Player SDK or third-party software, such as VLC, to play the stream. Streaming URLs for the transcoded stream can meet the requirements of different clients and network environments.

  • An ingest URL can be used by Push SDK or third-party software, such as Open Broadcaster Software (OBS), to ingest the stream.

Procedure

  1. Log on to the ApsaraVideo Live console.
  2. In the left-side navigation pane, choose Toolbox > URL Generators.

  3. On the Live URL Generator tab, configure the parameters described in the following table. 地址生成器

    Parameter

    Description

    Streaming Domain

    Select a streaming domain from the Streaming Domain drop-down list.

    Authentication

    By default, Type A is used and the validity period is 30 minutes.

    Note

    For information about how to modify the validity period, see Configure URL signing.

    Ingest Domain

    • If you want to generate ingest URLs, you must associate an ingest domain with the specified streaming domain. The associated ingest domain is automatically selected.

    • If you need to only pull streams, leave this parameter empty.

    AppName

    The name of the application.

    Note

    The name can be up to 256 characters in length and can contain digits, letters, hyphens (-), underscores (_), and equal signs (=).

    StreamName

    The name of the stream.

    Note

    The name can be up to 256 characters in length and can contain digits, letters, hyphens (-), underscores (_), and equal signs (=).

    Transcoding Template

    If you specify a transcoding template that you have configured, the generator generates streaming URLs for the transcoded stream. If you leave this parameter empty, the generator generates streaming URLs for the original quality stream.

  4. Click Generate URLs to generate ingest and streaming URLs.

    Note
    • Before you use a URL in the Real-Time Streaming (RTS) format, you must enable the RTS feature. For more information, see Enable RTS.

    • If stream delay is not configured, streaming URLs for the original quality stream are generated. If stream delay is configured, streaming URLs for the original quality stream and the delayed stream are generated. To play the delayed stream, use the URLs for delayed streaming.