Skip to content
glowfish

Home · Help · Setting up IRL streaming

Setting up IRL streaming

When you stream on the go, the connection fluctuates, drops out and comes back. For an uninterrupted stream, three components therefore work together: the encoder, the relay server and OBS.

The video path

Your video passes through four stages before it reaches the viewer:

  1. Your encoder — a BELABOX or a phone with an app such as Moblin or IRL Pro. It bonds several connections (mobile network, Wi-Fi, USB modems) and sends them via SRTLA. If one fails, the others take over as far as their bandwidth allows.
  2. Your relay server with us — it receives the bonded connections, reassembles them into a single data stream and keeps it ready.
  3. OBS on your side — it pulls the stream from the relay as a source. This is where your scenes are: the live video, a break screen and possibly a low-bandwidth version for poor connections.
  4. The platform — OBS streams to Twitch, YouTube or Kick.
Why OBS is in between: That is where your scenes are. With the Klein plan and above, the relay switches the scene in your OBS to the break screen when the connection drops. Without your own OBS, the relay forwards the stream directly to the platform.

Requirements

An encoder with SRTLA
BELABOX, Moblin or IRL Pro. Anything that supports SRTLA works. If you use only one connection, you can also send plain SRT.
A relay server
Your own relay server with us (view the plans). The free IRL Sponsored plan transmits via SRT over one connection at up to 2 Mbit/s and shows ads when the connection drops. Automatic scene switching is included from the Klein plan onward.
OBS on a computer that runs while you stream
Usually the computer at home. It must be able to decode the incoming stream and re-encode it for the platform. It must be online and, for scene switching, reachable from outside. How to do this is described in the guide to making OBS reachable.

Setup in five steps

  1. Order a plan. After activation, the customer portal shows the complete addresses of your relay, your stream key and your view key. Anyone who knows the stream key can stream to your relay. Anyone who knows the view key can receive the stream from the relay. Treat both like a password and never show them on stream.
  2. Set up the encoder. The complete address is shown in the customer portal. Host and ports belong to your relay, the structure is:
    • bonded (IRL Klein and above): srtla://YOUR-ADDRESS:SRTLA-PORT?streamid=publish/live/STREAMKEY
    • single connection: srt://YOUR-ADDRESS:SRT-PORT?streamid=publish/live/STREAMKEY

    Example Moblin: In the stream setup wizard choose "Custom", then the protocol "SRT(LA)". The "URL" field takes the complete address from the customer portal including ?streamid=publish/live/STREAMKEY. Leave the "Stream ID" field empty. Choose H.264 or H.265 and at most the resolution of your plan (IRL Sponsored 720p, see plan overview). The relay detects both by itself. Set the latency in Moblin, the relay adopts it unchanged. Switching and further values are in the customer portal. With IRL Sponsored, turn bonding off and set the video bitrate to at most 2 Mbit/s, above that the relay disconnects.

    Moblin: choose "Custom" in the wizard (app in German)
    Moblin: choose "Custom" in the wizard (app in German)
    Moblin: protocol "SRT(LA)" (app in German)
    Moblin: protocol "SRT(LA)" (app in German)
    Moblin: complete address in the "URL" field, "Stream ID" stays empty (app in German)
    Moblin: complete address in the "URL" field, "Stream ID" stays empty (app in German)
  3. Connect OBS. Add a source of the type "Media Source", uncheck "Local File" and enter the address from the "Receiving" card under "Input" (line "OBS or vMix: Media Source → Input", with several senders the line with the name of the sender), structured as srt://YOUR-ADDRESS:PLAYBACK-PORT?streamid=play/live/VIEWKEY, with mpegts as the "Input Format". The receiving side always uses SRT, even if your encoder bonds connections, because they are combined on the relay. The same address works in VLC under "Media → Open Network Stream". With "Show nothing when playback ends" enabled in the source, OBS shows a black picture instead of the last frame once the stream has ended.
  4. Create scenes. Three are common: LIVE for the video on the go, LOW for a weak connection and BRB as the break screen. Enter the names in the customer portal.
  5. Enable switching. With the Klein plan and above, enter on the “Switching (NOALBS)” card how OBS can be reached. The “Check connection to OBS” button tests the connection and reports, for example, “Connection established, obs-websocket 5.5.6, with password.” The eye in the field shows the password.

vMix instead of OBS

vMix pulls the picture from the relay as an SRT input, just like OBS. Hostname, port and Stream ID come from the address on the "Receiving" card (line "OBS or vMix: Media Source → Input", with several senders the line with the name of the sender): srt://YOUR-ADDRESS:PLAYBACK-PORT?streamid=play/live/VIEWKEY.

  1. In vMix, click "Add Input" at the bottom left and select "Stream / SRT" on the left.
    vMix: "Add Input" at the bottom left
    vMix: "Add Input" at the bottom left
  2. Set "Stream Type" to "SRT (Caller)". vMix then connects to the relay itself.
    vMix: "Stream / SRT" and "SRT (Caller)"
    vMix: "Stream / SRT" and "SRT (Caller)"
  3. Enter only YOUR-ADDRESS under "Hostname", without srt:// and without the port, and the PLAYBACK-PORT under "Port".
  4. Enter the part after streamid= under "Stream ID", that is play/live/VIEWKEY.
  5. Set "Latency (ms)" to 2000. "Decoder Delay (ms)" stays at 0, "Passphrase" stays empty and "Key Length" stays unchanged.
  6. Leave "Use Hardware Decoder" enabled and confirm with "OK". For H.265, Windows needs the "HEVC Video Extensions" from the Microsoft Store.
    vMix: values from the customer portal, "Stream ID" holds your own viewkey
    vMix: values from the customer portal, "Stream ID" holds your own viewkey
vMix: input 1 with the picture from the relay
vMix: input 1 with the picture from the relay

vMix accepts H.264 and H.265 with AAC audio, progressive video only. The fallback picture works in vMix the same way as in OBS. The automatic scene switching from the Klein plan controls OBS via obs-websocket and is not available with vMix. IRL Sponsored allows one viewer connection at a time, so OBS and vMix cannot pull the picture at the same time.

Fallback video with IRL Sponsored

With IRL Sponsored, the relay bridges connection drops with a fallback video from glowfish.de. If the encoder's connection drops, the video starts in OBS, vMix or VLC within a few seconds. The connection between relay and software stays up. The relay matches the video to the encoder's codec, resolution and frame rate.

As soon as the encoder reconnects, the fallback video ends and the live picture is back. The fallback video does not count towards the data volume.

The maximum running time of the fallback video is set by the follow-up time in the customer portal: 5 to 240 minutes, 30 minutes by default. After that, the stream counts as ended.

If the stream is ended in the encoder, for example with "Ende" (End) in Moblin, no fallback video starts. The last frame is followed by a black picture, then the relay closes the connection to OBS, vMix and VLC. vMix therefore shows a black picture instead of the last camera frame.

vMix: fallback video from glowfish.de during a connection drop
vMix: fallback video from glowfish.de during a connection drop

Camera with SRT output

Cameras and encoders with SRT send directly to the relay. In the camera's SRT settings: mode "Caller", destination YOUR-ADDRESS with the SRT-PORT and publish/live/STREAMKEY as the stream ID. If the camera has no separate stream ID field, the complete address srt://YOUR-ADDRESS:SRT-PORT?streamid=publish/live/STREAMKEY goes into the address field. Set the latency in the camera, the relay adopts it unchanged. 2000 ms is a good starting value. H.264 or H.265 with AAC audio fit as codec, within the plan's limits for resolution, frame rate and bitrate.

Switching features on and off

On the “Features” card you switch booked features on and off immediately: NOALBS, LiveU statistics in chat, LiveU bitrate/modem overlay, RIST ingest and pause video. This has no effect on billing. Features can still be cancelled under “Additional features”, for the next month. The LiveU bitrate/modem overlay is on the “Receiving” card in the group “Overlays for OBS”. In OBS, add a “Browser” source and paste the line into “URL”.

In the same “Overlays for OBS” group you also set up the display of your heart rate. How this works is described under Heart rate overlay with HypeRate for OBS.

More overlays for OBS: LiveU bitrate/modem overlay in OBS Speed from RealtimeIRL in the stream Welcoming new chatters in the stream

Relay on your own server (self-hosted)

Receiving in your home network: If the container runs with network “host”, your server reports its address in the home network. The “Receiving” card then shows the addresses for OBS with this local IP, for example 10.0.0.x, and below it “Address in the home network. From outside:” with the public address. OBS in the same network uses the local address. Without network “host” no local IP appears, and the DynDNS name or the public IP applies.

Sending on the go: At the top of the “Send” card is “Fixed address for on the go (DynDNS)” with the field “Name or IP of your connection”. The field is optional. If it is empty, the public IP of the last report applies, which changes with most connections. With a DynDNS name your sending addresses stay the same, which we recommend. In your router, forward the ports the card names: “Forward to this server in the router (UDP): 8383, 8282, 8484.”

Connection to OBS: The “Check connection to OBS” button also works with self-hosted relays. If OBS runs in the same network, the local IP of the OBS computer is enough under “OBS address”. No port forwarding for 4455 is needed then.

Version: The customer portal shows the relay version next to “ready”, for example “Version X · current”. The container log shows it at startup as “Glowfish IRL-Relay Version X”. The relay updates itself. DSM only shows the image name with latest under “General”.

Chat commands with a separate bot account

For automatic switching and chat commands, NOALBS connects to Twitch, the connection to Kick is coming soon. Without this connection NOALBS does not start. You do not have to sign in with your streamer account, a separate bot account is common. How this works is described under Switching scenes automatically.

Remote control of the relay

Your relay can be started, stopped or restarted via webhook, for example from SAMMI, Streamer.bot or a Stream Deck. How this works is described under Controlling the IRL relay via webhook.

If your address ever becomes known

It can happen that the settings are accidentally shown on stream or that someone you used to know still has them. Without the stream key nobody can stream to your relay, and without the view key nobody can receive the stream. You can replace both in the customer portal at any time with one click, and the ports of your relay as well.

If you have questions, write to us at support@glowfish.de and briefly mention your encoder and the problem.