SRT server settings need to reduce lag

So I got a Windows server OS VDS and set up OBS there. I tested it with 2 SRT clients and see latency from 3to4 seconds from them. So I have some questions regarding this issue 1 do i need ffmpeg custom install or obs has it up to date and fully set up? 2 can i reduce that 4sec lag from client with some srt line arguments? on srvers side 3 how to optimize lag while having 2 or more clients? server and client are in one country phisicly server and client both have 1gb internet. CPU on server works fine and handle stable 60fps but on twitch channel i see buffers a lot and huge lag from server to twitch. clients sent srt on 6000 bitrate server use the same settings
Flaeri
Flaeri19d ago
What is your RTT? What are you currently specifying? 1. You can use OBS' SRT implentation, yes. 2. Probably, depends on RTT 3. Could you rephrase the question? What is "lag" in this instance? You can specify latency per sender To be perfectly honest, my best result in OBS was by specifying nothing. Got about 300ms glass to glass. That was OBS -> OvenMedia If you are using the media source in OBS to "ingest" SRT, then you can try messing with probesize and rtbufsize, as the default buffer is quite large (in order to handle reliable streams)
Purr
Purr18d ago
how to measure RTT? i tried google it but no way I will be able to understand all that words... may be there is a cmd command for windows or some software?
Flaeri
Flaeri18d ago
I think its good enough to shortcut it with a simple ping. Dosent need to be super accurate. you'll find the RTT term all over SRT, so if you want to take the simple way out, just pretend it say ping
Purr
Purr18d ago
so ping server_ip will be enough? then I can set up param latency for each client?
Flaeri
Flaeri18d ago
I need more information about what you're doing. How you're measuring the latency, how / what is sending SRT, and to where, and who is consuming (viewing).
HunterAP
HunterAP18d ago
Might also want to try a tracert to see where the latency is coming from If it's external there isn't much you'll be able to do
Flaeri
Flaeri18d ago
I would bet money that the latency is coming from the reading side (ingest/decode), buffering input. Its extremely common to have a sizable buffer to handle variance, re-ordering, udp etc. If you have a fairly trustworthy connection and protocol, this can be slimmed down substantially with limited downside (unless the path craps out of course)
mikeful
mikeful16d ago
do you have SRT latency parameter set on either side? connection negotiation will use bigger one of those. if nothing is specified, SRT default of 125ms is used
Want results from more Discord servers?
Add your server
More Posts
Running Linux OBS; PipeWire Window Capture sources always ask for permission on launchFor each source of type `Window Capture (PipeWire)` I have configured in a scene collection, one of 4090+7950x obs settings for 1080pI just want the more or less best settings for this the reason I ask for 1080p is because I have a 5Virtual Server (aka Intel VDS\VPS) for streaming eventsHello! I just wandering will it be possible to stream using VPS\VDS with intel 2+ cores CPU no GPU? GC573 Scaling IssuesHi all. My GC573 was working in the past now ive gotten a new monitor and havent used it for a whilePush to Talk in discord cutting out - OS Windows 11Recently upgraded my pc from Windows 10 to Windows 11 (in place upgrade) things were ok or so I thoVideo SettingsHello guys, I game on a 1440p monitor and I stream on twitch, I currently have my base and output cavideo settings on OBSHello guys, I game on a 1440p monitor and I stream on twitch, I currently have my base and output caWhat m.2 slot should i put my new crucial p3 plus 4tb in?I just got a Crucial p3 plus 4tb and im not sure if i should put it in one of the lower m.2 slots orGreenscreen QuestionIf I were to record my gameplay and camera separately (using Atium Vertical for this). How would theEncoding for an IRL programmeHi, I'm streaming a show that uses a hardware vision mixer to mix cameras together, then OBS will sBest way to transfer large data between storage devicesHi im getting a new storrage device i want to transfer my personal folder to thats like 600-700GB, wExport Settings HelpIs there anything I need to change here?auto adjust project settings to the first clipmy issue is that I need to adjust the resolution of the project settings every time for each projectPS5 stuttering (duplicating frames) every 7 min (4 months research already with no fix)Usecase: Im playing (and recording) PS5 games with OBS preview, im pretty much okay with the latency4k stream + Record + 1080p StreamHey, I was wondering how exactly to set this up in OBS. I am using the Vertical plugin (just so thatPassthrough not working HD60x Dual PC StreamingSo I am trying to use the passthrough feature with dual pc streaming, but obs is picking up a signalAitum Record option in Stream DeckAnyone know if there is a OBS record option in the stream deck, for the Aitum vertical plugin?AV1 Software Encoding Problems with OBS Studio 30.1.1Is there a way to force OBS Studio 30.1.1 to use more than 15 cpu threads? OBS said that it was skipWhy does this happen?Quite often I have to turn the psu switch off for a couple seconds and switch it back to power on thCustom Fitted In Ear Monitors w/ Microphone?I have some of the WEIRDEST questions probably, but you know how those K-pop and J-pop idols have th