This topic describes how to use ApsaraVideo Live to ingest streams and view streams.

Prerequisites

  • Your domain names have been ICP filed.

    ApsaraVideo Live is a live streaming service. To use this service, make sure that your domain names have been ICP filed. For more information, see ICP filing.

  • Stream ingestion tools and media players
    • Stream ingestion tools and media players for PCs

      There are a lot of stream ingestion tools running on PCs. This topic uses Open Broadcaster Software (OBS) to describe how to ingest streams.

    • Stream ingestion tools and media players for mobile platforms

      ApsaraVideo Live provides the ApsaraVideo mobile cloud demo. You can use this demo to ingest streams and view streams.

Procedure

  1. Log on to the ApsaraVideo Live console.
  2. Add an ingest domain name. For more information, see Add a domain name.
  3. Add a streaming domain name. For more information, see Add a domain name.
    • Ingest Domain: ApsaraVideo Live uses this domain name for ingest URL concatenation. For more information, see Ingest URL and streaming URL.
    • Streaming Domain: ApsaraVideo Live uses this domain name for streaming URL concatenation. For more information, see Ingest URL and streaming URL.
      Note You must add both the ingest domain name and streaming domain name. After adding the domain names, you must associate the ingest domain name with the streaming domain name for them to take effect.
    • Edge Group: indicates the area where CDN acceleration is available.

    When a domain name is added, CDN acceleration is automatically configured for the domain name. The acceleration service is enabled after you have added a CNAME record for the domain name.

  4. Add a CNAME record For more information, see Add a CNAME record.
  5. Associate the ingest domain name with the streaming domain name. For more information, see Associate domain names.
  6. Generate the ingest URL and streaming URL. For more information, see Edge ingestion- Generate the ingest URL and streaming URL.
  7. Ingest streams. You can use the ApsaraVideo mobile cloud demo or a third-party stream ingestion software, such as OBS, to ingest streams. You can ingest streams on a PC or mobile platform.

    Ingest streams on a PC: This topic uses OBS to describe the procedure of live streaming. For more information about how to download and configure OBS, see Ingest and view streams on a PC.

  8. View streams.

    You can view streams on a PC or mobile platform.

    View streams on a PC:

    • Use Aliplayer to view streams

      Enter the streaming URL into the streaming URL bar of Aliplayer, and then click the Preview tab.

    • View streams in the ApsaraVideo Live console

      Log on to the ApsaraVideo Live console, choose Stream Management > Ingest Endpoints > View URLs, and click the streaming URL to view the stream. For more information, see View live streams.