All Products
Search
Document Center

ApsaraVideo Live:Push a live stream to RTS using OBS

Last Updated:Oct 17, 2025

This topic explains how to use Open Broadcaster Software (OBS) to push a live stream to Real-Time Streaming (RTS) using the WebRTC-HTTP Ingestion Protocol (WHIP).

Background

WHIP is a lightweight network protocol that uses HTTP POST requests to ingest real-time video streams to a cloud platform or media servers. It simplifies transferring real-time WebRTC video to a supported streaming service. As an open, standardized ingest protocol for WebRTC, WHIP offers the advantages of low latency and high compatibility.

Before you begin

  1. Configure your domain name for RTS and verify that the service's demo works well.

  2. Download and install OBS Studio 29.1.0 or later. Download link: OBS Studio.

Procedure

  1. Use the URL generator in the ApsaraVideo Live console to generate an ingest URL for RTS. Example: artc://al.yun.com/live/live?auth_key=******. You can also construct an ingest URL by using the concatenation rules. For more information, see Manually construct URLs.

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

    3. Configure the parameters and obtain the ingest URL for RTS.

      image

  2. Change the RTS ingest URL to a WHIP-based HTTP(S) URL.

    1. Change the URL scheme from artc to http(s). 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 an SSL certificate. For more information, see Configure HTTPS secure acceleration.

  3. Configure OBS Studio for stream ingest.

    1. Launch OBS Studio.

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

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

      Parameter

      Description

      Service

      Select WHIP.

      Server

      Enter the WHIP-based HTTP(S) URL generated in Step 2.

      Bearer Token

      Leave this parameter empty.

      image.png

  4. On the homepage of OBS Studio, click Start Streaming.

  5. Verify the active stream in the ApsaraVideo Live console.

    1. In the left navigation pane of the console, click Streams.

    2. On the Active Streams tab, select the domain name that you want to query, then enter your application name and stream name.

      image.png

    3. Click Search. The active streams are displayed.

  6. Play the RTS stream on the web.

    1. Access the RTS player for web.

    2. Click the Stream Pulling tab.

    3. Enter the streaming URL for your RTS-enabled domain.

      image

    4. Click Start to play the stream.