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
Configure your domain name for RTS and verify that the service's demo works well.
Download and install OBS Studio 29.1.0 or later. Download link: OBS Studio.
Procedure
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.- Log on to the ApsaraVideo Live console.
In the left navigation pane, choose .
Configure the parameters and obtain the ingest URL for RTS.

Change the RTS ingest URL to a WHIP-based HTTP(S) URL.
Change the URL scheme from
artctohttp(s). Example:Original URL:
artc://al.yun.com/live/live?auth_key=******Modified URL:
https://al.yun.com/live/live?auth_key=******
If you use HTTPS, you must configure an SSL certificate. For more information, see Configure HTTPS secure acceleration.
Configure OBS Studio for stream ingest.
Launch OBS Studio.
In the menu bar, choose .
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.

On the homepage of OBS Studio, click Start Streaming.
Verify the active stream in the ApsaraVideo Live console.
In the left navigation pane of the console, click Streams.
On the Active Streams tab, select the domain name that you want to query, then enter your application name and stream name.

Click Search. The active streams are displayed.
Play the RTS stream on the web.
Access the RTS player for web.
Click the Stream Pulling tab.
Enter the streaming URL for your RTS-enabled domain.

Click Start to play the stream.