ArticleslgStudy

computer science

Secure Reliable Transport

Secure Reliable Transport is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Secure Reliable Transport rather than just read about it. In short: Secure Reliable Transport (SRT) is an open source video transport protocol that utilises the UDP transport protocol. The SRT Protocol specification is available as an Internet Draft from the IETF.

Key takeaways

  • Secure Reliable Transport belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Secure Reliable Transport to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Secure Reliable Transport from memory before moving on to harder problems.

Reference excerpt

Secure Reliable Transport (SRT) is an open source video transport protocol that utilises the UDP transport protocol. The SRT Protocol specification is available as an Internet Draft from the IETF.

Overview SRT provides connection and control, reliable transmission similar to TCP; however, it does so at the application layer, using UDP protocol as an underlying transport layer. It supports packet recovery while maintaining low latency (default: 120 ms). SRT also supports encryption using AES. The protocol was derived from the UDT project, which was designed for fast file transmission. It provided the reliability mechanism by utilizing similar methods for connection, sequence numbers, acknowledgements and re-transmission of lost packets. It utilizes selective and immediate (NAK-based) re-transmission. SRT added several features on top of that in order to support live streaming mode:

Controlled latency, with source time transmission (timestamp-based packet delivery) Relaxed sender speed control Conditional "too late" packet dropping (prevents head-of-line blocking caused by a lost packet that wasn't recovered on time) Eager packet re-transmission (periodic NAK-report)

Packet header SRT packets are created at the application layer and handed to the transport layer for delivery. Each unit of SRT media or control data created by an application begins with the SRT packet header.

Data packet

The fields in the header are as follows:

Packet Sequence Number (31 bits) PP (2 bits): Packet Position Flag O (1 bit): Order Flag KK (2 bits): Key-based Encryption Flag R (1 bit): Retransmitted Packet Flag Message Number (26 bits) Data (variable length)

Control packet

The fields in the header are as follows:

Control Type (15 bits): Control Packet Type Subtype (16 bits) Type-specific Information (32 bits) Control Information Field (variable length)

History Secure Reliable Transport (SRT) is an open-source video transport protocol originally developed by Haivision. Development began around 2012, and the protocol was first publicly demonstrated at the International Broadcasting Convention (IBC) in 2013. SRT was later open-sourced by Haivision under the Mozilla Public License in 2017. Early commercial deployments included implementation of SRT in Haivision's Makito X encoders and decoders, including use by Jyske Bank in 2014. According to Marc Cymontkowski, the architect of SRT, in addition to sending MPEG transport streams over the public internet, it is also being used for IoT connectivity, metadata exchange, as a communication protocol, as well as for uncompressed data delivery. The reference implementation of the protocol was originally published under the Lesser General Public License version 2.1, but was relicensed under the Mozilla Public License on 22 March 2018. SRT is supported in the free software multimedia frameworks GStreamer, FFmpeg, OBS Studio and in VLC free software media player. The UDP-based Data Transfer Protocol (UDT) project has been a base for the SRT project. The SRT C API is largely based in design on the UDT API SRT was designed for low-latency live video transmission. Haivision released the SRT protocol and reference implementation as open source at the 2017 NAB Show. In March 2020, an individual Internet-Draft, draft-sharabayko-mops-srt, was submitted for consideration to the Media OPerationS (MOPS) working group of the Internet Engineering Task Force.

SRT Alliance SRT Alliance is an organisation whose members develop, use and promote the Secure Reliable Transport protocol and software based on it. The founding members of the alliance are Haivision and Wowza Streaming Engine.

Implementations There are two available implementations, the open-source SRT library from Haivision written in C and GoSRT, a version written in pure Go

Haivision C Library The C language API is mainly based on the previous UDT API, with further changes as new features are added. The API is very similar to the one of TCP. SRT offers actually three working modes, of which the first two were derived from UDT:

File-stream mode: like TCP File-message mode: similar to SCTP protocol – sending blocks of data with clearly defined boundaries Live mode: the data should be sent in small packets (usually up to 1316 bytes, if the transmitted stream is MPEG-TS) with already appropriate time intervals between them. The same single packets with the same time intervals between them are then delivered at the receiver side. The SRT library also offers these features:

Encryption using a pre-shared key. Encryption support was originally provided by OpenSSL, now also alternatively, Nettle (GNU TLS) or mbedTLS can be used. SRT Access Control (aka "StreamID") can be used by applications to identify resources and use user-password access method while using the same service port number for multiple purposes. The optional Forward Error Correction mechanism. Further and more detailed documentation can be found in the Source code documentation.

See also Reliable Internet Stream Transport (RIST), a protocol developed through the Video Services Forum (VSF) for reliable video transport over unmanaged networks.

Notes

References

External links Official website

Worked examples

Example 1 — a first encounter with Secure Reliable Transport

Start with the simplest possible case. Write down what Secure Reliable Transport claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Secure Reliable Transport before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Secure Reliable Transport ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Secure Reliable Transport

In research
Secure Reliable Transport appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Secure Reliable Transport in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Secure Reliable Transport is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application layer protocols, Streaming, Video software, so understanding it makes those chapters shorter.
In everyday life
Look for Secure Reliable Transport outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Secure Reliable Transport” →

How to study Secure Reliable Transport in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Secure Reliable Transport means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Secure Reliable Transport out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Secure Reliable Transport in simple terms?

Secure Reliable Transport (SRT) is an open source video transport protocol that utilises the UDP transport protocol. The SRT Protocol specification is available as an Internet Draft from the IETF.

Why does Secure Reliable Transport matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Secure Reliable Transport?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Secure Reliable Transport.

Tags

  • Application layer protocols
  • Streaming
  • Video software

Keep exploring