Industry background

The rapid development of live broadcast technology has diversified and personalized user experience in various industries, and innovative practices under different business scenarios have met the public’s high standards for audio and video interactive experience and participation. After the great changes at the beginning of 2020, the Internet economy, which focuses on video, games, e-commerce and education, has witnessed rapid development. “Live broadcasting +” has become a trend and has been widely integrated into people’s work and life. In the construction of live broadcasting system, we often hear two high frequency words: RTMP (Real Time Messaging Protocol) and OBS (Open Broadcaster Software).

RTMP protocol is an application layer protocol based on TCP proposed by Adobe, which is used to solve multimedia data transport flow Multiplexing and Packetizing problems. RTMP has a history of nearly 20 years. It is widely used in the live broadcast industry to push streams of anchors and interoperate among different systems.

OBS is an easy-to-use software for producing live streaming media content, which provides users with the capture and recording functions of videos, texts, images, etc. The interface of OBS is simple and professional, with powerful functions. OBS program and its source code are provided to everyone for free, and the version update is always active. It supports OS X, Windows and Linux operating systems, and is suitable for a variety of live broadcast scenarios and meets the operational requirements of most live broadcast activities.

Upgrade package

In view of the host push stream using RTMP, TCP link time is too long, the congestion control completely depends on TCP transmission layer, can not provide real-time bandwidth data to dynamically adjust the video coding rate and other problems caused by push stream delay and lag. Based on the downstream UDP transformation, Ali Cloud Low-Time Streaming RTS (Real-Time Streaming) products optimize the upstream UDP underlying WebRTC technology. By releasing RTS SDK plug-ins on mobile terminals and PC terminals, the quality of stream-pushing streams in the whole industry is improved. Provide a low delay, low latency, safe and reliable live viewing experience. Client access is simple and only needs to be inBy embedding RTS SDK in OBS terminal, a new push-stream protocol can be added without changing the original push-stream acquisition architecture.

Effect of contrast

The anchor end

The data comes from internal experiments.

Using the step

Step 1. Promote river basin name and open RTS

Add a good push basin name in the live broadcast consoleThe domain name managementThe page pushes the catchment nameThe domain name configurationThrough theLow delay push currentSwitch on and off this function.

Step 2. Integrate the RTS SDK

RTS SDK is tailored for OBS, and OBS native framework is not required to be changed. It can be achieved by connecting RTS SDK to OBS-output plug-in, as shown in the figure below. Refer to the integration documentation…Complete the autonomous access. In order to facilitate user access, OBS-output plug-in of ARTC-stream is also encapsulated, and can be integrated for use only by adding OBS compilation. See “Integrated Instructions of ARTC-stream for OBS Example Plug-in” for details.

Step 3. Use RTS push stream address to push stream

The push stream address concatenation method is the same as RTMP, only need to use the new protocol header artc:// to distinguish, for example console generated RTMP address is:


You just need to change RTMP to ARTC:


The Demo experience…

“Video cloud technology” is your most noteworthy public account of audio and video technology. Every week, you will push practical technical articles from the front line of Ali Cloud, where you can exchange ideas with first-class engineers in the field of audio and video. Public number backstage reply [technology] can join Ali cloud video cloud product technology exchange group, and the industry’s big names together to discuss audio and video technology, get more industry latest information.