Ch. 15 · Low-Latency and Real-Time Streaming

한국어日本語
8 min

SRT, RIST, and RTMP: Protocols for the Ingest Leg

The character of the protocols used in the contribution leg, where video is sent from the shooting site up to the server, and the criteria for choosing among them.

So far we have looked at the delivery leg, from server to viewer. The opposite leg, from the camera or encoder up to the server (or broadcaster), is called contribution/ingest. This leg is about getting a single signal up reliably and without interruption, not about the number of viewers, so it uses different protocols.

RTMPSRTRIST
Transport layerTCPIts own retransmission and control layered on UDPRetransmission layered on UDP/RTP
Loss handlingRelies on TCP retransmission — latency can grow when packets are lostRetransmits only the lost packets (ARQ). Recovers within the allowed latencyRetransmission-centered (ARQ). The specification is divided into profiles
EncryptionNone by default (uses TLS via RTMPS)Supports AES encryptionSupported depending on the profile
Spec and backgroundAn old de facto standard. The base spec centers on H.264/AAC, and there is a trend of extensions adding support for HEVC, AV1, and others, as far as is knownAn open-source protocol (led by Haivision, SRT Alliance)A specification created by the Video Services Forum
Main useThe traditional ingest entry point for social and live platformsBroadcast-grade ingest and remote production over the internetSignal transport between broadcasters

The detailed features of each specification vary by version. Check which items your equipment and service support.

The heart of SRT: the latency setting

SRT sends over UDP, and the receiving side asks again for missing packets. To buy time for the retransmissions to arrive, the receiver keeps a certain buffer, and that is SRT's latency parameter. If the value is too small, retransmissions don't arrive in time and the picture breaks; if it is too large, latency grows. It is generally recommended to set it to a few multiples of the line's RTT (round-trip time), and the guidance is to raise the multiplier on lossier lines. For the specific multipliers, see the official SRT documentation (the deployment guides from the SRT Alliance and Haivision).

Sender (encoder) Receiver + buffer Packets 1 2 3 ✕ 5 6 … "Packet 4 didn't arrive" → resend → restored in order inside the buffer The retransmission round trip must finish inside the buffer or the picture breaks
The idea behind retransmission-based protocols: the buffer is the price of buying time for retransmissions to arrive
Choose the ingest protocol and the delivery protocol separately

Just because ingest is SRT doesn't mean viewers get SRT. A common setup is ingest → (SRT/RTMP) → media server → repackaging → (LL-HLS/LL-DASH/WebRTC) → viewer. From the moment the server repackages the received stream into segments and chunks, the latency factors from Lesson 3 are added.

Field note: the order for deciding which is right

(1) First check which protocols the target platform accepts (many services support RTMP, while SRT and others vary by service). (2) If the site's connection is unstable, consider a retransmission-based option (SRT or RIST). (3) Confirm that your encoder hardware or software supports that protocol. In this order, personal preference comes last. For the supported list and recommended settings, check the platform's official guidance.

Contribution / IngestContribution / Ingest

The leg that sends the signal from the camera or encoder up to the server or broadcaster. Distinguished from delivery, which distributes it to viewers.

RTMPRTMP

An old TCP-based real-time ingest protocol. Many live platforms support it as their ingest entry point.

SRTSRT

An open-source ingest protocol that provides retransmission and encryption over UDP. The latency parameter sets the recovery time.

RISTRIST

A retransmission-based reliable transport specification created by the Video Services Forum.

ARQAutomatic repeat request

A method where the receiver reports missing packets and gets them retransmitted. The basic principle behind SRT and RIST.

Check yourself

What can happen if you set SRT's latency value too small?