-
Notifications
You must be signed in to change notification settings - Fork 111
increasing the number of libwebsocket service threads of mod_audio_fork module #49
Comments
what size of instance are you running on? I have not seen this issue before in my testing/deployments |
My instance size is 4 vcpu and 8G memory. |
you should be getting much better performance than that. How you are you measuring audio delay? Are you certain the delay is not on the websocket server (receiving) side? |
also I would not make that change you cited in the freeswitch link |
ok, i will take a closer look at my code now and let you know |
mod_audio_fork uses libwebsockets, and lws only sends data when the socket is in a writable state. If the downstream server falls behind, this will cause the module to buffer audio until the socket becomes writable |
ok, i found there is no audio stream delay in freeswitch module with another testing, sorry for bothering you. |
Hello Dave,
When i run sipp for performance test(for example, peak call to 50 and call rate to 3 cps), it seems the remote audio stream is delayed and even not received at all.
I changed MOD_AUDIO_FORK_SERVICE_THREADS to 5 but had no luck and even i followed up this link and changed freeswitch configuration but had no luck either.
https://stackoverflow.com/questions/53609817/freeswitch-blocked
Is there a reason for limiting the max thread number to 5?
Could you provide the way to increase the number over 5?
Any suggestions are appreciated.
The text was updated successfully, but these errors were encountered: