Add Favorite Set Homepage
Position:Home >> News

Products Category

Products Tags

Fmuser Sites

Why we choose SRT instead of RTMP?

Date:2020/9/21 15:11:04 Hits:

Why choose SRT?



新一代直播传输协议SRT - 知乎



There is no doubt that RTMP is the largest live broadcast protocol in stock today, but with the continuous development of new technologies and the continuous expansion of usage scenarios, continuing to use RTMP will make people feel a little powerless. The defects of RTMP protocol mainly include the following four aspects:


RTMP protocol defect

● First of all, the RTMP protocol is too old, and the last update was in 2012; at the same time, there are no official definitions for video formats such as HEVC/H.265/AV1, so that domestic CDN manufacturers need to define them.
● The RTMP connection process is longer. Because RTMP is based on TCP (TCP has a three-way handshake), in addition, it also has a three-way handshake from c0/s0 to c2/s2, plus connection, createstream, play/publish, and so on. For the RTMP to complete a connection establishment, 9 sessions are required, which is barely acceptable for the PC side, and the requirements for the network quality of the mobile terminal are very high.
● The congestion control of RTMP completely relies on the transport layer, that is, it completely relies on the congestion control algorithm of the TCP transport layer for congestion management, with almost no optimization; RTMP itself is based on TCP transmission and cannot provide bandwidth adaptive algorithms.

● In this context, many manufacturers have begun to provide some new live broadcast protocols for industry reference. Such as QUIC, SRT, etc. This time we will focus on the characteristics and applications of SRT.



Features of SRT protocol

Haivision and Wowza jointly proposed the SRT protocol for real-time audio and video based on UDT. SRT is a UDT-based protocol (the UDT protocol is a UDP-based transmission protocol, and 4 versions have been submitted in the IETF). It has a very good packet loss retransmission mechanism. The control messages for packet loss retransmission are very rich. It also supports ACK, ACKACK, NACK.

We all know that audio and video are very concerned about time, and SRT's time-based message transmission enables it to have a good ability to prevent traffic bursts. SRT provides rich congestion control statistics to the upper layer, including RTT, packet loss rate, inflight, send/receive bitrate, etc. Using this rich information, we can realize bandwidth prediction, and do adaptive dynamic coding and congestion control at the coding layer according to the change of bandwidth.


Leave a message 

Name *
Email *
Phone
Address
Code See the verification code? Click refresh!
Message
 

Message List

Comments Loading...
Home| About Us| Products| News| Download| Support| Feedback| Contact Us| Service
FMUSER FM/TV Broadcast One-Stop Supplier
  Contact Us