Stream with SRT
How to stream from Unreal with SRT, the most reliable protocol: Stream URL, Stream ID, passphrase, timeout and latency, and testing on your machine or network.
Last updated About 4 hours ago
SRT is the most reliable protocol the OWL Media Output Encoder can stream with, especially over unstable internet connections. This article covers when to use it, how to set up an SRT destination and its options, and how to test it on your own machine or network. To add an encoder first, use the Media Output Wizard or see Set Up the Media Output Encoder. To compare protocols, see Choose a Streaming Protocol.
When to Use SRT
SRTis newer thanRTMPandRTSP, and we recommend it whenever your destination accepts it, because it recovers better from a poor connection.If you are streaming several outputs to a media server,
SRTgives you a much more stable and reliable stream thanRTMP.You can stream
SRTto transcoders like Mux or AWS Elemental, which can then send it on to a large audience.SRTworks withh.264andh.265encoding, depending on what your receiver accepts.
Set Up an SRT Destination
Set the destination's
Output TypetoSRT.Enter the
Stream URLfrom your receiver.Under
Options, set what your receiver needs:Stream ID: like aStream KeyinRTMP.Passphrase: an extra security code shared between the encoder and its destination.Encryption Key Length: only used when aPassphraseis set. The receiver must accept the same length.

Timeout and Latency
Timeoutis how long a connect, read or write may stall before the stream gives up. It is in microseconds (1000000is one second). Leave it at-1to use the default, or set a value that gives your stream time to connect but doesn't leave it hanging.Latencyis the longest time a receiver waits for a lost packet to be sent again. It is in microseconds. It can be longer if you allow a larger latency buffer for your stream, but for low or ultra-low latency streaming it needs to be small. To choose a latency, see Decide What Latency You Need.
Test SRT on Your Machine or Network
To test on the same machine (for example with OBS Studio), stream to
srt://127.0.0.1:4700?mode=callerand entersrt://127.0.0.1:4700?mode=listenerin the receiver.4700is just a port on your machine, so you can change it.To stream over your network, use
srt://192.168.xxx.xxx:4700?mode=callerand replace thexxxwith the receiving machine's IP address (how to find it on Windows).