Use Case for SRT

Delivering data to our clients is what drives our success at CCRM. While we utilize many methods of getting the data to our clients (most times we bring the client to the data). We wanted to take a minute to break out one method in particular, SRT. In this article, we’ll talk about transmission mediums over the internet and our unique use case for SRT and its robustness.

TCP

TCP is short for Transmission Control Protocol and is how the world guarantees delivery of data on a network. It’s a way for computers to help ensure data travels from one place to another wholly. The protocol uses a series of messages to set up communication between two devices.

The way two devices begin communicating is with the three-way handshake. It consists of the Syn (This is the beginning of synchronization), the Ack (this is acknowledgment that I’ve received the Syn), and the SynAck (which is the combination of the Syn from earlier and the Ack).

Using this session, TCP continues to keep track of data sent with sequence numbers and acknowledgments. The computers keep track of the data! If something is missing, it is resent to make sure the data transmits the wire. This is ideal for data transmissions where integrity is vital. However, when delivering live data this is not conducive to the timeliness required. The reason why? Think of a cell phone call you’ve had. If the data wasn’t there and it was retransmitted, your conversation of, “Sue went down to the store!” would turn into “Sue wen down to the store! WENT”. The error correction makes no sense in a conversation. The same thing applies to digital TV solutions. So, what else could we use?

UDP

UDP is short for User Datagram Protocol. UDP is a fire-and-forget protocol. The delivery of the data, although important, is not number one. It does not care if the delivery was successful, it just sends. Think of it as a radio signal even. I love to tell a joke every time I explain this protocol to people. I laugh every time. Most of my learners groan.

Q: “Do you want to hear a UDP joke?”

A: “Yes!”

Q: “Do you want to hear a UDP joke?”

UDP is a great medium for transmitting data in real-time. But therein lies the problem. Our clients care about data integrity AND data in real-time.

Solving the problem

So, we’ve got two mediums that provide both solutions for us. Aside from rewriting the stack on our own and getting it to the rest of the world, there must be another answer. We need to solve for X. How do we get the integrity of TCP with the speed and real-time processing of UDP? It’s impossible. Or is it? We get close to perfection by utilizing newer technology in the market. 

SRT

SRT stands for Secure Reliable Transport. It is an open-source protocol that combines the best of both worlds from TCP and UDP. SRT offers low latency, high bandwidth utilization, and secure data transfer, making it an ideal protocol for live video streaming, file transfers, and other real-time data applications.

It is a heavily modified version of the UDT protocol. UDT is an application-level, connection-oriented duplex protocol that supports both reliable data streaming and partial reliable messaging (think TCP over UDP). SRT solves the problem by adapting in real-time to the conditions that exist between two endpoints. Using an overhead, it can burst traffic through the same pipe as its standard transmission to create a sort of “carpool lane” for the traffic that was missed.

SRT uses end-to-end encryption to protect data in transit, ensuring that only authorized parties can access the information. It also employs forward error correction and retransmission algorithms to guarantee data integrity and minimize the impact of network jitter and packet loss.

Designed to be highly adaptive and can adjust to changing network conditions in real-time. It can dynamically optimize the flow of data based on the available bandwidth and latency of the network. This makes it a highly reliable protocol for live video streaming and other applications that require consistent and low-latency data delivery.

One of the unique features of SRT is its ability to traverse firewalls and other network barriers without requiring additional setup or configuration. This makes it a highly scalable protocol that can be used across a wide range of network environments.

In conclusion, SRT is an innovative solution to the problem of balancing data integrity with real-time processing. It combines the best of both TCP and UDP to provide a highly adaptive, secure, and reliable protocol for live video streaming, file transfers, and other real-time data applications.

Chris is our Director of Operations with over 10 years of experience in Network Engineering and Leadership. Reach out to learn how we help cover your products 24x7x365.

by Chris Sanders, Director of Operations | 10 May 2023

by Chris Sanders, Director of Operations | 10 May 2023