Question / Help 2 PC Setup with nginx on windows - choppy video

zdennis

New Member
Hello. I currently have the following Setup

setup.png


Both Pcs are using windows. And have a second network port with 1Gbit possible connection.
The Game Pc encodes the stream in obs via NVENC and send it to the Stream Pc.
On the Stream Pc runs nginx with an rtmp modul.

The problem is if I stream a higher resolution as 720p to the Stream Pc.
The video gets choppy.

I see the same results regardless of wheter I use VLC or obs video source to watch the video feed.
 
Have you checked your routing tables to ensure that Windows is actually using your direct connection and not the LAN to stream to the stream PC?
 

zdennis

New Member
Yes I disabled the Lan adapter while the direct stream was running to ensure it.
Windows should't use the Lan route anyway because I use an Ip which my router doesn't know.

I made some test btw.
After I switched from NVENC to Quick Sync and increases the worker processes from 1 to 8 and the worker connections from 1024 to 8196 in the nginx settings.

I was able to have a clean connection for 90 minutes. Then obs disconnected for 1 sec, reconnected but the video on the strem pc stayed frozen.

I think its not a network issue. Eighter its a problem with obs, nginx or the interaction of both.
 
Last edited:
Top