Sunday, September 18, 2022

Stream SRT with OBS or between OBS instances

Send SRT video between OBS instances across internet or local LAN

tl;dr;

  • On your source OBS, open the OBS "stream" settings

    SERVER:  replace the IP/FQDN and port to reflect your system
    srt://Destination_WAN_or_LAN_IP_Address:PORT?latency=200000

    STREAM KEY:
    leave entry blank

  • On the destination OBS (OBS receiving the SRT feed)
  • create a "media source"
  • UNCHECK "Local File"
  • Uncheck "Restart playback when source becomes active"
  • for "INPUT" put in the following syntax

    srt://LocalOBS_IP:PORT?mode=listener&latency=5000
  • If you are sending this video across the internet, Open firewall ports on internet for your receiving OBS to allow the UDP port into your network and point it to the IP of your OBS that is receiving the video
  • Click start stream, video should show up

DETAILED instructions

On your source OBS system

  • go to the stream settings and put in the following:

    srt://Destination_WAN_or_LAN_IP_Address:PORT?latency=200000

    Example syntax.  This example in this document uses port 37491.
    srt://333.444.555.666:37491?latency=200000

A screenshot of a computer

AI-generated content may be incorrect.

SET OBS TO RECIEVE SRT VIDEO

  • In OBS, we'll create a new scene called "SRT LISTENER" 
  • create a Media Source 

A screenshot of a computer

AI-generated content may be incorrect.

Inside MEDIA SOURCE

  • UNCHECK "Local File"
  • Uncheck "Restart playback when source becomes active"
  • in "INPUT" we'll put in the following syntax
    srt://LocalOBS_IP:PORT?mode=listener&latency=5000

    "LocalOBS_IP" is the local IP of the computer running your receiving OBS application.

If the computer's IP is 192.168.0.5, the IP we put in the OBS system.  This example uses port 37491.

    srt://192.168.0.5:37491?mode=listener&latency=5000

A screenshot of a computer

AI-generated content may be incorrect.

Select OK to save your changes.

Now you need to open the port in your firewall of your receiving network connection.
You will need to open a UDP port and point it to the IP of your OBS receiving computer. 

In this example, if you were sending the video across the internet, you would open port 37491 and point it to 192.168.0.5
Search for instructions for your router's firewall configuration settings to get details how to do this.

Assuming the receiving end is ready, press "START STREAMING" on your source OBS and it show the green box in the lower right corner of OBS.

A screenshot of a video recording program

AI-generated content may be incorrect.

 

No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.