Question / Help Decreasing framerate will increase latency

screampuff

New Member
Hello, I am basically trying to stream a web app at 1-2 frames per second to minimize bandwidth, however I need it to have minimal latency.

I have noticed that if I stream at 30fps there is almost no latency, but if I drop the FPS down to 1, it introduces ~20 seconds of latency. I'm using a local nginx-rtmp server and displaying it on a JWPlayer with 0.1 buffer size. I believe this may have something to do with how x264 introduces I-Frames, and with 1 FPS it is taking a long time before an I-Frame is introduced that the player will match up to.

I've tried setting the key frames to be 1, same as FPS but that did not help. Is there some other setting I am missing?
 
Top