[pjsip] CPU is up to 10% after pjsua_set_snd_dev()
Ruud Klaver
ruud at ag-projects.com
Mon Nov 10 03:54:53 EST 2008
Hi Alexei,
On 06 Nov 2008, at 13:56, Alexei Kuznetsov wrote:
> I mean, the application uses 10% of cpu without any media active.
> Also, pjsua without any params uses less than 1% cpu after start-up,
> but 10% after the first call. Is it something you could improve in the
> future? Or is it the design, or is it not up to pjproject but to other
> code pjrpoject uses? Is it on a Mac only?
>
> --
> Best regards,
> Alexei
I've noticed exactly the same behaviour on Mac, it's a very annoying
problem. Just having the sound device open seems to consume an
inordinate amount of CPU cycles already. From what I've seen, it
actually seems to be a PortAudio issue. I already went on their
mailinglist to discuss the issue, but I didn't pursue the matter.
Ruud Klaver
AG Projects
More information about the pjsip
mailing list