Problems streaming SRT output in Listener Mode

matthewjdumas

New Member
For the last few days I've been trying to stream my OBS scene as an SRT output to be consumed by a friend's OBS instance so we can do a PIP video together for his twitch streams. Here's the setup:

Rx PC: Media Source configured to: srt://<<IP of TX PC>>:10001?mode=caller&transtype=live&latency=120000, input format: mpegts transport, 0MB network buffer (IP is a NoIP DNS)

Tx PC: Stream output Server: srt://192.168.1.2:10001?mode=listener&transtype=live&latency=120000, no streamkey set, output 2500kbps, encoder NVENC, Keyframe interval 1, Audio set to defaults, router setup to forward 9999 to 10020 to the Tx PC,

Every time I start streaming on the TX, I get popups in the bottom right corner saying OBS Disconnected, 10 seconds later, OBS Reconnected, and then it immediately disconnects.

The log looks like this:

17:02:16.109: [jim-nvenc: 'simple_h264_stream'] settings:
17:02:16.109: rate_control: CBR
17:02:16.109: bitrate: 3000
17:02:16.109: cqp: 20
17:02:16.109: keyint: 250
17:02:16.109: preset: hq
17:02:16.109: profile: high
17:02:16.109: width: 1920
17:02:16.109: height: 1080
17:02:16.109: 2-pass: false
17:02:16.109: b-frames: 2
17:02:16.109: lookahead: false
17:02:16.109: psycho_aq: true
17:02:16.109:
17:02:16.120: ---------------------------------
17:02:16.121: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
17:02:16.121:
17:02:16.130: ==== Streaming Start ===============================================
17:02:16.130: [ffmpeg muxer: 'simple_stream'] Writing file 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000'...
17:02:17.332: [ffmpeg muxer: 'simple_stream'] os_process_pipe_write for packet data failed
17:02:17.333: [ffmpeg muxer: 'simple_stream'] ffmpeg-mux: Couldn't open 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000', Error number -10048 occurred
17:02:17.333: Couldn't initialize muxer
17:02:17.333:
17:02:17.334: [ffmpeg muxer: 'simple_stream'] Output of file 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000' stopped
17:02:17.334: Output 'simple_stream': stopping
17:02:17.334: Output 'simple_stream': Total frames output: 1
17:02:17.334: Output 'simple_stream': Total drawn frames: 72
17:02:17.334: Output 'simple_stream': Reconnecting in 10 seconds..
17:02:17.389: warning: 2 frames left in the queue on closing
17:02:27.396: [jim-nvenc: 'simple_h264_stream'] settings:
17:02:27.396: rate_control: CBR
17:02:27.396: bitrate: 3000
17:02:27.396: cqp: 20
17:02:27.396: keyint: 250
17:02:27.396: preset: hq
17:02:27.396: profile: high
17:02:27.396: width: 1920
17:02:27.396: height: 1080
17:02:27.396: 2-pass: false
17:02:27.396: b-frames: 2
17:02:27.396: lookahead: false
17:02:27.396: psycho_aq: true
17:02:27.396:
17:02:27.408: ---------------------------------
17:02:27.408: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3
17:02:27.408:
17:02:27.413: [ffmpeg muxer: 'simple_stream'] Writing file 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000'...
17:02:28.632: [ffmpeg muxer: 'simple_stream'] os_process_pipe_write for packet data failed
17:02:28.632: [ffmpeg muxer: 'simple_stream'] ffmpeg-mux: Couldn't open 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000', Error number -10048 occurred
17:02:28.632: Couldn't initialize muxer
17:02:28.632:
17:02:28.633: [ffmpeg muxer: 'simple_stream'] Output of file 'srt://192.168.1.2:10001?mode=listener&transtype=live&latency=2000000' stopped
17:02:28.633: Output 'simple_stream': stopping
17:02:28.633: Output 'simple_stream': Total frames output: 1
17:02:28.633: Output 'simple_stream': Total drawn frames: 73
17:02:28.633: Output 'simple_stream': Reconnecting in 10 seconds..
17:02:28.688: warning: 2 frames left in the queue on closing
17:02:40.143: ==== Shutting down ==================================================

Am I doing something wrong here? Does OBS support SRT Stream output as listener?

When I set up OBS on a different PC and set the media source to listener and the stream to caller it works perfectly. I can't do that in this case, because the receiver doesn't have control over his router currently.
 
Top