GRVYDEV / Project-Lightspeed

A self contained OBS -> FTL -> WebRTC live streaming server. Comprised of 3 parts once configured anyone can achieve sub-second OBS to the browser livestreaming
MIT License
3.64k stars 138 forks source link

Video stuttering issues, any recommendations? #46

Open shoffing opened 2 years ago

shoffing commented 2 years ago

Hey there, I absolutely love this project! My friends and I are using it as a potential replacement for Discord Nitro, as the free streaming quality of Discord is really really bad.

The one issue we have is stuttering in the stream. Every couple seconds, there's like a quarter-second stutter in the video feed. Playing around with OBS Output settings, it seems like a higher bitrate actually lowers the amount of stuttering. Changing the keyframe interval didn't seem to do anything.

What are the possible ways of fixing this? For example, could an option be added to increase the stream delay to reduce stuttering? Right now we're getting like 250ms stream delay, but we'd be fine with up to like 750ms probably.

Lunaphied commented 2 years ago

It would be helpful in looking into an issue like this if there were more detailed (or more obviously accessible) statistics as to what is happening with the stream on both sides of the connection.

GRVYDEV commented 2 years ago

This will hopefully be solved by #48