audio conference

Arun Raghavan arun at arunraghavan.net
Mon Jul 29 19:47:16 UTC 2024


On Mon, 29 Jul 2024, at 2:04 AM, Pradeep Acharya via gstreamer-devel wrote:
> Hi 
> Thanks for the response . As far as I understood, the sink pad of the 
> audio mixer (which is the aggregator pad ) itself creates one thread to 
> consume the input buffer. So, I assume the mixer input needs 
> modification to share threads. Is there any thread sharing plugin 
> written in c rather than in rust.

That's not quite right. You get one thread per source[1], and then one thread in the audiomixer to aggregate the buffers and push the aggregated output on its own srcpad.

The (Rust) threadshare elements allow you to avoid the one-thread-per-source requirement by sharing a thread, but the way it is currently written, it can be tricky to mix threadshare elements and non-threadshare elements with their own threads.

-- Arun

[1] This is usually, but not always, the case.


More information about the gstreamer-devel mailing list