Free tools / SRT URL builder

SRT URL builder

This tool builds an SRT, SRTLA or RTMP address from the host, port and stream ID your relay gave you, and shows the same settings as separate fields and a QR code. It also writes the SRT address OBS needs to receive the stream in a Media Source.

Everything runs in your browser. Nothing you type is sent anywhere or saved.

Your settings

Hostname or IP address of your relay or server.

Leave empty if your server does not use one.

Optional. 10 to 79 characters.

Optional. 20 to 8000 ms. Set the same value in your app’s latency field.

Full URL

srt://relay.example.com:8890?streamid=publish:mystream

Separate fields

For apps that ask for each part on its own.

Protocol
SRT
Host
relay.example.com
Port
8890
Stream ID
publish:mystream
Latency (ms)
2000

QR code

Scan it with a QR reader on your phone to get the URL there without typing it.

OBS Media Source (receive)

To bring the stream into OBS, add a Media Source, untick Local File and paste this into Input. OBS reads SRT, so this address uses SRT even when your phone sends SRTLA or RTMP.

Many relays use a different stream ID for reading. MediaMTX uses publish: to send and read: to receive. Leave empty to use read:mystream.

srt://relay.example.com:8890?streamid=read:mystream&latency=2000000

OBS reads SRT through FFmpeg, which takes latency in microseconds, so 2000 ms is written as 2000000.

Worked example

You stream from a phone to a relay at relay.example.com that takes SRT on port 8890 and expects the stream ID publish:mystream. The builder gives you srt://relay.example.com:8890?streamid=publish:mystream.

In an app that asks for separate fields, you enter Host relay.example.com, Port 8890 and Stream ID publish:mystream.

To receive the same stream in OBS with 2000 ms latency from a MediaMTX relay, the Media Source input is srt://relay.example.com:8890?streamid=read:mystream&latency=2000000.

Questions

What is the difference between SRT and SRTLA?

SRT sends your stream over one connection and resends packets that get lost. SRTLA splits the same SRT stream across several connections, such as two SIM cards and Wi-Fi, and the relay puts it back together. Your relay has to support SRTLA for this to work.

Where do I find the host, port and stream ID?

Your relay or server shows them in its dashboard or setup docs. If you were given one full URL, the host comes after :// and before the colon, the port is the number after the colon, and the stream ID is the part after streamid=.

Why is the OBS address different from the one my phone uses?

Your phone publishes the stream and OBS reads it. Many relays use a separate port or stream ID for reading, and OBS cannot read SRTLA, so it pulls SRT from the relay. Check your relay’s docs for its read address.

Do I need a passphrase?

Only if your relay or server asks for one. When it is set, the sender and the receiver need the same passphrase, and it must be 10 to 79 characters long.

Does this page save or send what I type?

No. The URL and the QR code are made in your browser, and nothing you type leaves the page.