I have a requirement in which I have to maintain 5 independent pipelines simultaneously.
These pipelines are similar and look like this:
udpsrc -> rtppcmadepay -> alawdec -> audioconvert -> audioresample -> voamrwbenc -> rtpamrpay -> udpsink
I have a few questions regarding that:
1, When I am sending one stream (initiate one pipeline), The audio from udpsink is very clear after encoding and decoding. But, as soon as 2 streams are originated (initiated 2 streams), a lot of noise and Jitter is introduced.
Question: Are these 5 pipelines accessing the same udpsrc or other elements (even though I have created them each time for every pipeline), and thus introduction the jitter or noise?
2, In such a encoding-decoding call, may you please tell me the amount of CPU that this is suppose to take? In my case, it varies from 4-7% in one call (input streams) and nearly 50-80% for 5 calls (input streams).
Is this behavior normal?
Shouldn't the increase in CPU be linear as each pipeline is expected to take the same amount of CPU provided? The elements in each of them are same and the work for them is also same.
Thanks for the help in advance and pardon for grammar.