All Products
Search
Document Center

ApsaraVideo Live:Live stream ingest

Last Updated:Jan 29, 2026

You can use Open Broadcaster Software (OBS), the Push SDK demo, or Push SDK to ingest a stream. This topic describes how to use these different methods to ingest a stream.

Prerequisites

An ingest URL is generated. For more information, see Generate streaming URLs.

Usage notes

ApsaraVideo Live does not allow you to ingest multiple streams to a URL at the same time. If you attempt to ingest multiple streams at the same time, only the first stream is ingested.

Note
  • If you encounter issues such as stream ingest exceptions during stream ingest, you can use the troubleshooting tool to troubleshoot the issues. The tool lets you diagnose common stream ingest issues and provides suggestions for you to resolve specific exceptions. For more information, see Troubleshooting.

  • If you use a third-party stream ingest tool, we recommend that you configure high availability policies to respond to stream ingest failures and alarms. This prevents your live streaming business from being interrupted by stream ingest failures caused by system issues. You can also configure a callback to monitor the stream ingest status. This way, a streaming URL is issued after the stream is ingested. For more information, see Callback management.

Use OBS to ingest a stream

OBS supports Windows, macOS, and Linux. In the following example, OBS Studio V27.2.3 for Windows is used. The operations of other versions or on other platforms are similar.

  1. Download and install OBS Studio. Download link: OBS Studio.

  2. Run OBS Studio.

  3. In the menu bar, choose File > Settings.

  4. On the Settings page, click Stream and configure the following parameters:

    001

    Parameter

    Description

    Service

    Select Custom.

    Server

    Enter the generated ingest URL with authentication. Example: rtmp://demo.aliyundoc.com/app/stream?auth_key=1543302081-0-0-9c6e7c8190c10bdfb3c0************.

    Stream Key

    The stream key is empty.

  5. In the Sources area of the OBS main window, add a source and then click Start Streaming.

    002

  6. Go to Stream Management. On the Active Streams tab, you can view and manage the ingested streams.

Use the Push SDK demo to ingest a stream

  1. You can use a mobile device to scan and install the Alibaba Cloud Live Streaming Demo.

    image

    Note

    If you are using an iOS device and a message about an untrusted enterprise developer appears, go to Settings > General > Device Management. Find the profile for Taobao and tap Trust.

  2. You can run the Alibaba Cloud Live Streaming demo.

  3. Select Camera Ingest or Screen Recording Ingest.

    Note

    Only YUV files are allowed when you ingest local streams from a mobile device.

  4. Enter the authenticated ingest URL. For example: rtmp://demo.aliyundoc.com/app/stream?auth_key=1543302081-0-0-9c6e7c8190c10bdfb3c0************. Configure other parameters as needed.

  5. Click Start Ingest to begin streaming from your mobile device.

  6. Go to Stream Management. On the Active Streams tab, you can view and manage the ingested streams.

Use Push SDK to ingest a stream

Push SDK for iOS

  1. Integrate Push SDK for iOS. For more information, see SDK integration.

  2. You can configure stream ingest parameters and start stream ingest as needed. For more information, see Feature usage.

    Exceptions may occur when you configure the stream ingest parameters or ingest a stream. For more information, see Handle errors, exceptions, and special cases.

Push SDK for Android

  1. Integrate Push SDK for Android. For more information, see SDK integration.

  2. Configure the stream ingest parameters as needed and ingest a stream. For more information, see Use Push SDK for Android.

    Exceptions may occur when you configure the stream ingest parameters or ingest a stream. For more information, see Handle errors, exceptions, and special cases.

Push SDK for Flutter

  1. Integrate Push SDK for Flutter. For more information, see SDK integration.

  2. Configure the stream ingest parameters and start the stream ingest as needed. For more information, see Feature Usage.

Push SDK for Web

What to do next

  • After a stream is ingested, you can play the stream. For more information, see Live stream playback.

References