Koen
New Member
Hi,
I have the following setup:
1 streaming computer in the office with the following specs:
The problem is that OBS reconnects every 30 seconds to 1 minute for some reason. I already tried these settings in flashphoner.properties:
Because of the reconnects, the clients seem to drop the connection most of the time as well. I'm using the default embedded player in an iframe. When I stream some background music, I also notice that the voice sometimes sounds slower or faster then it should.
The problem isn't bandwidth. I'm getting a very stable 38Mbit upstream from the streaming PC to the server, tested using "iperf"
When I put nginx with RTMP module between the streamer and WCS (having nginx push the rtmp back out to WCS port 1935), the connection between the streamer and nginx is rock solid: no reconnects, no dropped frames, everything seems perfect, except the clients (the players) still disconnect after a while, though it's better. Most of the time either the video or the audio stops and the other keeps playing, until eventually this also disconnects. This might take a few minutes or several hours.
Any ideas on how to fix this or what I can try next? Note that the super low latency is extremely important for our use-case.
Thanks in advance,
K.
I have the following setup:
1 streaming computer in the office with the following specs:
- Intel Core i7-7820X (8 cores, 16 threads)
- 32GB RAM
- NVMe SSD's
- Gigabit networking to modem
- Office network connection has 500Mbps downstream, 40Mbps upstream
- Windows 10 Pro
- OBS Studio 22.0.2
- 4 Cores
- 8GB of RAM
- SSD Storage
- Running version v. 0.5.28.2747 - 5.1.3527-6f565...890c
- RTMP to WCS
- Constant bitrate of 1500 kbps (1.5Mbit)
- Rescaled output to 852x480
- Keyframe interval 1 second
- CPU Usage preset Ultrafast
- Profile "main"
- Tune for "zerolatency"
- x264 encoder
- No recording
The problem is that OBS reconnects every 30 seconds to 1 minute for some reason. I already tried these settings in flashphoner.properties:
Code:
#OBS keepalive fix
keep_alive.enabled=websocket,rtmfp
keep_alive.algorithm=NONE
The problem isn't bandwidth. I'm getting a very stable 38Mbit upstream from the streaming PC to the server, tested using "iperf"
When I put nginx with RTMP module between the streamer and WCS (having nginx push the rtmp back out to WCS port 1935), the connection between the streamer and nginx is rock solid: no reconnects, no dropped frames, everything seems perfect, except the clients (the players) still disconnect after a while, though it's better. Most of the time either the video or the audio stops and the other keeps playing, until eventually this also disconnects. This might take a few minutes or several hours.
Any ideas on how to fix this or what I can try next? Note that the super low latency is extremely important for our use-case.
Thanks in advance,
K.