All Products
Search
Document Center

ApsaraVideo Live:Run demos

Last Updated:Mar 05, 2026

Alibaba Cloud RTS provides demos for mobile and web clients. We recommend starting with the mobile client demo to experience the RTS service. This topic describes how to run RTS demos.

Prerequisites

  • You have generated an authenticated ingest URL. For more information, see Get started with ApsaraVideo Live.

  • You have enabled the RTS feature. For more information, see Enable RTS.

  • You have installed Open Broadcaster Software (OBS). For more information, see OBS.

Environment requirements

The requirements for the mobile environment are as follows:

platform

Requirement

iOS

iOS 9.0 or later

Android

Android 4.3 or later

Usage notes

  • If you want to use a domain name that uses the HTTPS protocol for stream ingest or stream pulling, you must configure an HTTPS certificate in the console. For more information, see Configure HTTPS secure acceleration.

  • If your live center acceleration channel involves cross-border acceleration (between regions in the Chinese mainland and Hong Kong (China), Macao (China), Taiwan (China), or other countries and regions), you must configure cross-border acceleration in the console. For more information, see Configure Cross-Border Acceleration.

  • To ensure the security of your live streaming content, you must configure access control (URL signing) in the console. For more information, see URL signing.

Procedure

  1. Ingest a stream.

    Method 1: Ingest a stream over Real-Time Messaging Protocol (RTMP) using OBS. For more information, see Live stream ingest.

    Method 2: Use OBS to ingest streams based on the WHIP protocol. For more information, see OBS RTS Stream Ingest.

    Method 3: Use the web client to push an RTS stream

    1. Go to the RTS Web Player.

    2. Click the Stream Ingest tab.

    3. Expand the none drop-down list and select camera or screen, as needed.

      If you select camera, click Get devices below the page. In the pop-up window, grant permission to access the microphone and camera. After granting permissions, expand the Select Microphone and Select Camera drop-down lists and select the corresponding devices.

      image.png

    4. Click Create Local Stream.

    5. Enter the generated ingest URL in the RTS format. Example: artc://example.aliyundoc.com/liveApp****/liveStream****?auth_key=1543302081-0-0-9c6e7c8190c10bdfb3c0****.

    6. Click Start.

    Note

    If you encounter issues such as stream ingest exceptions during stream ingest, you can use the troubleshooting tool to resolve them. The tool lets you diagnose common stream ingest issues and provides suggestions for you to resolve specific exceptions. For detailed instructions, see Troubleshooting.

  2. Play an RTS stream.

    Method 1: Play an RTS stream on a mobile client

    1. Scan the QR code to install the demo of ApsaraVideo MediaBox SDK. If a URL appears after scanning, copy it to your browser to download and install the demo.

      二维码

    2. Select Live Stream, click RTS, and enter or scan the streaming URL for which Ultra-Low-Latency Streaming is enabled.

      Note

      Before you open the demo on an iOS device, go to Settings > General > Device Management, find the trust profile for Taobao, and tap Trust.

      直播

    3. Click Start Playback to play the RTS stream.

    Method 2: Play an RTS stream using the RTS demo for web

    1. Go to the RTS Web Player.

    2. Click the Stream Pulling tab.

    3. Enter the streaming URL of the RTS stream.

      003

      Note
      • Browsers enforce WebRTC security policies. Ensure that an HTTPS certificate is configured for the streaming domain of your RTS stream. Otherwise, the stream may fail to play.

      • Web RTS SDK does not support videos that contain B-frames or audio that is encoded in the AAC format. If your video contains B-frames or your audio is encoded in the AAC format, transcode the stream first and use the URL of the transcoded stream as the streaming URL. For more information about how to transcode streams, see RTS Transcoding.

    4. Click Start to play the RTS stream.

Note

If you encounter issues such as playback exceptions during playback, you can use the self-service troubleshooting tool to resolve them. This tool can quickly diagnose common live stream playback issues and provides suggestions for you to resolve specific exceptions. For more information, see Self-service troubleshooting.