Setting the SRT (GoStream as Listener)
Introduction:
Scure Reliable Transport (SRT) is an open source video transport protocol that tilises the UDP transport protocol.
SRT URL Format with mode Parameter:
srt://<host>:<port>?mode=<mode>&<other_parameters>
mode=<mode> can be:
listener: The server is waiting for an incoming connection.
caller: The client is initiating the connection.
<host> is the IP address or domain name of the server.
<port> is the port number for the connection. Make sure that the caller and listener ports are the same.
<other_parameters> can be additional parameters like encryption, latency, etc. This is not included in this document.
1. Example: OBS-Caller, GoStream-Listener
Step 1: Connect the PC with OBS and the GoStream to the same network. Check the IP address of the PC (192.168.10.5) and the GoStream (192.168.10.112).
Step 2: In OBS, set the sources. I made a color background, a text and a GoStream Logo. Then in ‘Settings > Stream’. Set the ‘Service’ to ‘Custom’ and enter the URL link of the SRT in the ‘Server’ item:
srt://192.168.10.112:9001?mode=caller
In this case, OBS acts as the caller of the SRT. And The IP address is the IP address of the GoStream.
Step 3: Go into the ‘upload_url’ folder of the SD card/SSD that has been formatted by GoStream.
Step 4: Create a ‘Text Document’ in this folder, enter the SRT Url and save. I named the file ‘GoStreamSRTtest’.
srt://192.168.10.112:9001?mode=listener
In this case, GoStream acts as the listener of the SRT. And The IP address is the IP address of the GoStream.
Step 5: Set the In5 channel to ‘SRT/RTMP’ of GoStream. The same goes for other video channels.
Step 6: Insert the SD Card/SSD into GoStream and go into ‘MENU > Inputs > srt/rtmp’. Click the ‘Upload URL’ button under the ‘In 5 URL’ item and then you can see the URL link in the ‘In 5 URL’ item.
Step 7: Start streaming on the OBS, and In 5 will display the signal from the OBS SRT.