stream-labs / obs-studio-node

libOBS (OBS Studio) for Node.Js, Electron and similar tools
GNU General Public License v2.0
615 stars 99 forks source link

SRT seems to not be supported #1042

Open iameli opened 2 years ago

iameli commented 2 years ago

OBS Studio supports the SRT protocol since 25.0, and obs-studio-node seems to be on v27.0.3 as far as I can tell. But attempting to stream SRT with Streamlabs OBS results in:

[000:00:00:08.929.091.375][Info] [rtmp stream: 'simple_stream'] Connecting to RTMP URL srt://rtmp.livepeer.com:2935?streamid=[redacted]...
[000:00:00:08.929.127.250][Info] Unknown protocol!

versus mainline OBS:

13:34:48.816: [ffmpeg muxer: 'simple_stream'] Writing file 'srt://rtmp.livepeer.com:2935?streamid=[redacted]'...

Potentially just a build option that would need to be changed to include libsrt?

basisbit commented 2 years ago

+1 on this. SRT is much more reliable than RTMP and it is quite annoying to have to convince musicians / DJs switch to OBS (and have them set up the scenes,... again) just because Stramslabs does not support SRT.

jbain commented 2 years ago

+1 would love to see this implemented

iameli commented 2 years ago

I looked into this a little bit more and it does seem like the only change necessary would be to add SRT (and potentially a TLS library like mbedtls) to the streamlabs ffmpeg compilation.

If anyone is implementing that, you could take a look at RIST as well! All free functionality if you just add them to the ffmpeg build.