This topic describes how to configure and use Real-Time Streaming (RTS).
RTS provides instant playback, low latency, high concurrency, and high smoothness even if the network quality is poor. It integrates live streaming with real-time data and accelerates technological upgrades in the live streaming industry.
Ingest streams by using Open Broadcaster Software (OBS)
ApsaraVideo Live is activated. Ingest domains, pull-stream domains, and RTS are enabled.
Download and install OBS. For information about how to configure and use OBS, see Open Broadcaster Software.
Configure an ingest URL:
You must split the authenticated ingest URL into two parts and enter them respectively to the URL and Stream Key fields.
URL: Enter the address in front of AppName, including AppName.
Stream Key: Enter the address behind StreamName, including StreamName.
rtmp://push.aliyunlive.com/app/stream? auth_key=1543302081-0-0-9c6e7c8190c10bdfb3c0**** as an example. The URL is
rtmp://push.aliyunlive.com/app/. Stream key is
In this example, the ingest URL consists of an ingest domain, application name, stream name, and access token. Replace them based on your business scenario.
To ensure low latency:
We recommend that you set a keyframe interval of less than 3 seconds, set profile to baseline, and select "Dynamically change bitrate to manage conjestion".
View streams by using mobile clients
Download and install RtsDemo. For more information, see Demo experience.
Open the RtsDemo. Scan a QR code or enter the URL. Click Start to view streams.
You must use a streaming domain that has enabled RTS. The URL of the domain must start with artc.
View streams by using HTML5 Aliplayer
Click Aliplayer to open the Aliplayer console.
Click the Basic tab on the Online Settings page.
Set Video Type to Broadcast. Enter a streaming domain URL that starts with artc in the URL field.
Click the Preview tab to view streams.Note
A stream pulling HTTPS URL must be forwarded by using the HTTPS URL demo. Otherwise, HTTPS cannot load HTTP resources. Similarly, a stream pulling HTTP URL must be forwarded by using the HTTP URL demo.