Short answer
An SRT connection needs one end in listener mode, waiting on a UDP port, and the other in caller mode, pointing at the listener's address and port. The connection fails when both ends are in the same mode, when the listener's port is not open and forwarded as UDP, when the listener is behind an address shared by the internet provider, or when the password is not the same on both ends. Test first on the same local network: if the link works there, the settings are right and the problem is the path.

On this page
Find out where the connection stops
| What you see | Where to look |
|---|---|
| The listener waits forever and the caller gives up | The caller is not reaching the listener: address, port, router or firewall |
| Both ends wait, or both ends give up | Both ends are in the same mode |
| The link works on the local network and not over the internet | Port forwarding on the router, or an address shared by the provider |
| The connection is refused at once | Password, or a Stream ID the server does not accept |
| The link connects and the picture breaks up | Not a connection problem: latency and network. See SRT: what it is and when to use it |
The test on the local network separates the two halves. Put both ends on the same switch and use the local address of the listener. A link that connects there has the right modes, port and password.
One end calls, the other waits
The SRT protocol document describes two arrangements: caller and listener, where one side waits for the other to start the connection, and rendezvous, where both sides try to start it. The listener waits on a UDP port; the caller starts the connection to the listener's address and port.
- Two callers never meet. Two listeners wait for each other forever.
- The mode does not say who sends the video. According to the document, either the sender or the receiver can be the listener or the caller.
- The caller needs the exact address and port of the listener. The port has to be a known number, the same on both ends.
- Rendezvous only works when both ends are set to rendezvous.
Make the listener reachable
SRT runs over UDP. Everything between the caller and the listener has to let UDP through on the chosen port.
- The router on the listener's side. Over the internet, the caller points at the public address of the listener's network, and the router has to forward the port to the computer that listens. The SRT documentation describes this as an inbound rule, for UDP, that redirects the public port to the internal address of the receiving device. A rule created for TCP does nothing.
- The internal address. The forwarding rule points at an address on the local network. If that computer receives a different address the next day, the rule points at nothing. Reserve the address on the router.
- The firewall of the computer. On a Mac, the firewall is in System Settings, Network, Firewall. In Options, the program has to be allowed to receive incoming connections.
- Corporate and venue networks. Some networks block outgoing UDP. Then the caller cannot leave, and only the network administrator can open it.
The documentation also notes that the link can be reversed: the end that sends the video can be the listener and the end that receives can be the caller. Put the listener on the side where you control the router.
When the provider shares the address (CGNAT)
Many internet providers, and most mobile networks, give several customers the same public address. This is called carrier-grade NAT, or CGNAT. A router behind a shared address has no public address of its own, and no port forwarding on that router makes a listener reachable from outside.
The sign: the internet address shown on the status page of the router is different from the address that a "what is my IP" page shows. What works in that case:
- Make the end with the shared address the caller, and put the listener on the other end.
- If both ends have shared addresses, use a server with a public address in the middle, to which both ends call.
- Ask the provider whether a public address is available for the line.
Password, Stream ID and latency
- Password. The password (passphrase) turns on encryption and has to be identical on both ends. According to the SRT library documentation, by default the connection is rejected when the passwords differ or when only one end has a password. The same documentation sets a minimum of 10 characters.
- Stream ID. The Stream ID is a text the caller sends, of up to 512 characters. The protocol document says the application on the listener's side can accept or reject the connection based on that text. A server that expects a Stream ID refuses a caller that sends none or sends a wrong one.
- Latency. A different latency on each end does not prevent the connection: the protocol document says the value agreed is the greater of the two. Latency affects how the picture holds up, covered in SRT: what it is and when to use it.
In NWK Live Production
To send the Program, NWK has two kinds of SRT destination. "SRT (send to a server)" is for when you know the address of the receiver; put the real address and port in the Server (URL) field and, if the receiver asks for a stream id, add &streamid=…. "SRT (wait for connection)" is for when the receiver connects to your computer, on the port chosen in the address; the card shows how many receivers are connected. The SRT password is optional and, if used, must be 10 to 79 characters. Check before going live verifies that the address exists; the SRT connection itself is only tested when the stream starts. See stream over SRT.
To receive, the SRT input has two kinds of Connection: "Pull the signal from an address (caller)" and "Wait for the sender on this computer (listener)". In listener mode the thumbnail says it is waiting for a connection until the sender arrives: check that the sender uses the IP of this computer, the same port and the same password. To change the address, port, latency, password or Stream ID, open the gear on the thumbnail and click Reconnect. See receive video over SRT.
Related questions
Which side should be the SRT listener?
The side that has a public address and control of the router, because the listener is the end that has to be reachable from outside. Who sends the video does not matter. A studio with a fixed line is usually the listener, and a reporter on a mobile network is the caller.
Do I need to open a port on both ends for SRT?
In caller and listener mode, only on the listener's side: a UDP port forwarded to the computer that listens. The caller starts the connection from inside its own network and normally needs no forwarding, as long as that network allows outgoing UDP.
Why does SRT work on the local network and fail over the internet?
On the local network there is no router between the two ends. Over the internet the caller has to reach the public address of the listener's network, and the router has to forward the UDP port to the right computer. If the forwarding is right and the link still fails, the listener's provider may be sharing the public address.
In the NWK help center
- Stream over SRT
- Receive video over SRT
- Check everything before going live
- Reconnect an input or change the device
Sources and references
- IETF Internet-Draft: The SRT Protocol (draft-sharabayko-srt, expired draft, not an IETF standard)
- SRT library documentation: socket options (passphrase, enforced encryption, connection timeout)
- Haivision SRT documentation: internet streaming using caller and listener modes
- Haivision SRT documentation: firewall notes
- Apple Support: block connections to your Mac with a firewall
Written and reviewed by the NWK Live Production team (Setor 360 Tecnologia e Eventos Ltda). Published .
NWK sends the Program over SRT and receives SRT inputs, in both connection directions, with password and Stream ID.
Try NWK free for 7 days
