Hi all, You’re my hero if you decide to answer even 10% of my question. My question regards latency in applications using the PJSUA library. I am currently running my application on either a machine with Debian or a Raspberry PI board with Raspbian OS using the ALSA audio backend. I was wondering, in your experience is it possible to achieve overall latencies < 50ms with the Pjsua library? I found that the main limit in this is lowering the latency introduced by audio devices, so I was wondering if you could help me understand, if there is a limit, why it so high (in my experience I was not able to go below 42 ms for capture and 42ms for playback, not even by setting the parameter to lower values in the pjsua_media_config object passed during library initialization with pjsua_init()) compared to other applications that use audio devices (e.g. any type of DAWs allows latencies below 20ms). Is there some design requirement to have large buffers at some point in the processing? Is there anything that can be done by modifying the audio backend? Can I achieve <50ms latencies by using the pjmedia library directly and not going through pjsua? Any help will be highly appreciated, Thanks Gianni Massi |
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org