All Products
Search
Document Center

ApsaraVideo Live:Use OBS for RTS stream ingest

Last Updated:Feb 05, 2026

Introduction

This topic describes how to use OBS Studio for Real-Time Streaming (RTS) stream ingest based on the WHIP protocol.

Background information

The WebRTC-HTTP ingestion protocol (WHIP) is a simplified, lightweight network protocol that uses HTTP POST requests to push real-time video streams to the cloud or other streaming media servers. It is designed to easily transfer real-time video content captured by Web Real-Time Communication (WebRTC) technology to streaming media processing services that support the protocol. The WHIP protocol is an open-source, standardized ingest protocol for WebRTC that provides low latency and good compatibility.

Preparations

  1. Configure a domain name for Real-Time Streaming (RTS) and run the demo.

  2. Download and install OBS Studio Version 29.1.0 or later. For the download link, see OBS Studio.

Use OBS for stream ingest

  1. Generate an RTS ingest URL using the URL generator. An example is artc://al.yun.com/live/live?auth_key=******. You can also generate a URL by custom concatenation. For more information, see Method 2: Custom concatenation.

    1. Log on to the ApsaraVideo Live console.
    2. In the navigation pane on the left, choose URL Generator.

    3. Configure the parameters to generate the RTS ingest URL.

      image

  2. Convert the RTS ingest URL to a WHIP protocol URL.

    1. Change the artc:// prefix to http(s)://. For example:

      1. Original URL: artc://al.yun.com/live/live?auth_key=******.

      2. Modified URL: https://al.yun.com/live/live?auth_key=******.

    2. If you use HTTPS, you must configure a certificate. For more information, see Configure HTTPS secure acceleration.

  3. Use OBS Studio to ingest the RTS stream.

    1. Run OBS Studio.

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

    3. On the Settings page, click Stream, configure the following parameters, and then click OK.

      Parameter

      Description

      Service

      Select WHIP.

      Server

      Enter the WHIP protocol URL that you modified in Step 2.

      Bearer Token

      The streaming key is empty.

      image.png

  4. On the main page of OBS Studio, click Start Streaming.

  5. View the active stream on the Stream Management page.

    1. In the ApsaraVideo Live console, choose Stream Management in the navigation pane on the left.

    2. Select the domain name that you want to query, and enter the AppName and StreamName.

      image.png

    3. Click Query to view the number of active streams.

  6. Play the RTS stream on a web client.

    1. Go to the RTS Web Player.

    2. Click the Stream Pulling tab.

    3. Enter the streaming URL that has RTS enabled.

      image

    4. Click Start Stream Pulling to play the RTS live stream.