-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explanation please - on jitter and buffer sizes #33
Comments
This usually indicates the buffers are too small. When the jitter is larger than the buffer sizes allow, a connection is dropped (well, it is UDP traffic so there is no connection, but this means that no package has been received in time). After a short time, the participant is assumed to be gone and the remote channel is removed. This happens too quickly right now - but it indicates that you need larger buffer sizes. The client side buffers can be set with the sliders in the UI, but the server side buffers are command line parameters to the server executable. I recommend running the server from the command line and watching the output - it displays the jitter of each participant's data coming in. |
thank you. I see: I have tried to change client buffer but nothing change. Sorry how I can set more large buffer in the server command line? I mean a large server bufffer will only encrease the buffer but not will encrease obbligatory the latency? |
the participants are with ping from 5 to 10 to 20ms.. also i see that the problem sometimes is less present on different type of audio sound cards. For the same server, to explain what we works for us with jamulus... we have minimu client buffer of 2.67ms and server jitter |
The buffers are not fixed (only the minimum buffer), so adding large numbers doesn't lead to a higher latency when there is no jitter. The server has three different settings:
The default setting is at
The prefill is meant for dealing with drops instead of jitter, you could try to set it to 0 if you know you have higher jitter but no drops. Also, start adding a higher wait time (at the price of higher latency) to see if you can get a stable connection first and then try to move values down from there to get faster. It is also possible to compile with buffer size 64 instead of 128, but I haven't tested that for a while. Should also make a difference! |
so you could try JammerNetzServer -b 5 -w 10 -p 5 and incresase the sliders in the clients for a start. If that works without disconnects, you can start decreasing values. Also, sometimes the flicker can be seen but not heard. Did you check th audio quality, do you hear clicks and crackles when it flickers? |
Ping btw is less important than jitter, which is why I added jitter measurement into the server, you ca see it displayed in the last 2 columns, Jitter ms (milliseconds) and Jitter SD (Standard deviation). |
Thank you. I will try soon. (there is no way to run the client on high sierra?..tried to compile with brew without success) |
High Sierra should work as far as I recall. Did you try the precompiled binaries I have here? https://github.com/christofmuc/JammerNetz/releases |
require 10.14 and i have 10.13.6 (on a mac pro 2009 with a flashed firmware to 2010 and I can't upgrade to 10.14) |
Hm, not sure where the requirement comes from. Maybe C++ 17 support (which is required). The CMakeFile.txt says
but something other seems to ignore that. |
You are really kind thank you. Unfortunately with opencore and Sonoma there are serious problems with audio over USB |
Hello.
I can ask you why in some peers the remote channells client are flashing randomly?
Thankyou
The text was updated successfully, but these errors were encountered: