ENPTES Free trial

Send a signal from one site to another with SRT

A link between two buildings, two cities or two churches, over the ordinary internet, with one computer at each end.

Short answer

To send video between two locations with SRT, one side waits for the connection (listener) and the other side calls it (caller). The listener is the side where you can open a UDP port on the router and that has a public address. The two sides agree on the port, the latency and the password, the sender uses a bitrate that fits its upload, and the link is tested for some minutes before the event.

The Program monitor of NWK Live Production with a sports broadcast on air and the scoreboard over the picture
The Program monitor of NWK Live Production with a sports broadcast on air and the scoreboard over the picture
On this page
  1. Who waits and who calls
  2. What the two sites agree on
  3. Bitrate and latency
  4. The two ends in NWK
  5. Test before the event
  6. Related questions

Step by step

  1. Choose the listener: the site where you can open a port on the router.
  2. At the listener site, forward one UDP port of the router to the computer and write down the public address.
  3. Agree between the two sites on the port, the latency and the password.
  4. At the receiving site, add the SRT input in the agreed mode.
  5. At the sending site, add the SRT output with a bitrate that fits the upload.
  6. Start the sending and confirm picture and sound at the receiving site.
  7. Leave the link running for some minutes and raise the latency if the picture breaks up.

Who waits and who calls

The direction of the video and the direction of the connection are separate things. The sender can wait for the receiver to call, or the receiver can wait for the sender. What decides is the network of each site: the listener has to be reachable from outside, with a public address and one UDP port forwarded on the router to the computer. The caller needs nothing on the router.

SituationListenerCaller
Studio with its own router and a public address; remote site on a borrowed networkStudioRemote site
Remote site on mobile internetThe other siteThe site on mobile internet
Neither site can open a portNoneA direct link does not close. See SRT does not connect for the ways out

SRT explained describes the protocol and its modes.

What the two sites agree on

  • Address and port. The public address of the listener and the UDP port that was forwarded.
  • Latency. The time SRT keeps to ask again for lost packets. The same value on both sides.
  • Password. Optional, but a link over the internet without a password can be opened by anyone who finds the port. The same on both sides.
  • Stream ID. Only if the receiving equipment asks for one.
  • A phone number. The link carries the program in one direction. The two operators need another way to talk.

Send these values in writing. A password dictated over the phone is a common cause of a link that does not open.

Bitrate and latency

The bitrate of the link has to fit the upload of the sending site and the download of the receiving site, with room to spare. If the sending site also streams to a platform at the same time, the two bitrates add up on the same line. How much upload a stream needs shows the calculation.

A higher latency copes with a worse line, and delays the picture by the same amount. Start high, confirm that the picture is clean, and lower it only if the delay disturbs the program. A link that feeds a screen in another auditorium accepts a long delay. A conversation between the two sites does not, and is better served by a video call.

The two ends in NWK

NWK Live Production can be either end, or both. The other end can be any encoder, decoder or program that speaks SRT.

EndIf this side is the callerIf this side is the listener
Sending the Program (a destination)SRT (send to a server), with the address and port of the receiverSRT (wait for connection), with the port in the address
Receiving (an input)Pull the signal from an address (caller)Wait for the sender on this computer (listener)

On the destination, the key field becomes the SRT password, which must have 10 to 79 characters when used. The SRT destination has its own resolution and bitrate, like any destination. On the input you fill in the port, the latency in milliseconds and, if the sender uses them, the password and the Stream ID. NWK suggests 200 ms on a local network and 500 to 2000 ms over the internet, with the same value as the sender. The steps are in stream over SRT and receive video over SRT.

The received signal is an input, like a camera. In wait for connection mode, the destination card shows how many receivers are connected.

Test before the event

  • If possible, test first with the two computers on the same local network. If the link opens there, the settings are right and what remains is the path between the sites.
  • Test between the two sites on the real lines, at a time similar to the event.
  • Leave the link open for at least some minutes with moving pictures and sound, and look for squares in the picture and gaps in the sound.
  • Record the Program at the sending site. If the link fails, the content is saved.

In NWK the pre-flight check confirms that the address exists, and the SRT connection itself is only tested when the stream starts. A real test is the only confirmation.

Related questions

Do both sites need the same program?

No. SRT is an open protocol. A program at one site can send to a hardware decoder or to another program at the other site, as long as the two agree on the mode, the port, the latency and the password.

Which port should I use for SRT?

Any free UDP port that the two sites agree on and that the router of the listener forwards to the computer. SRT has no mandatory port. What matters is that the forwarding is UDP, not TCP.

Can I send in both directions at the same time?

Yes, with two links: one in each direction, each with its own port. Each link uses upload at the site that sends. To let the two sites talk to each other in real time, a video call has less delay than a pair of SRT links.

In the NWK help center

Written and reviewed by the NWK Live Production team (Setor 360 Tecnologia e Eventos Ltda). Published .

NWK sends the Program over SRT as a destination and receives SRT as an input, in caller or listener mode.

Try NWK free for 7 days