<div dir="ltr"><div>Hi <br></div><div>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.<br></div><div> </div><div>Regards</div><div>Pradeep<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2024 at 12:02 PM Matthew Waters <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    The audiomixing is not the issue.  The issue is that whatever is
    receiving the data creates a thread for each participant (presumably
    from RTP).  The threadsharing plugin aim to reduce the number of
    threads in such a scenario.<br>
    <br>
    You can feed multiple audiomixer sink pads all from a single thread
    if you are very careful.<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <div>On 25/7/24 15:55, Pradeep Acharya via
      gstreamer-devel wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>Thanks a lot for the support. I think gst-plugin-rs does
          not have support for audio mixing </div>
        <div><br>
        </div>
        <div>REgards</div>
        <div>pradeep<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Jul 24, 2024 at
          9:33 PM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>
              <div>Hi,</div>
              <div><br>
              </div>
              <div>Le mercredi 24 juillet 2024 à 20:07 +0530, Pradeep
                Acharya via gstreamer-devel a écrit :</div>
              <blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
                <div dir="ltr">
                  <div>Hello list,</div>
                  <div>       Any kind of suggestions on the below query
                    would be helpful<br>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>You might like to know that we have <a href="http://discourse.gstreamer.org" target="_blank">discourse.gstreamer.org</a>
                now, where most of the user discussion take place.</div>
              <div><br>
              </div>
              <blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
                <div dir="ltr">
                  <div>Thanks & Regards</div>
                  <div>Pradeep<br>
                  </div>
                </div>
                <div><br>
                </div>
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">On Tue, Jul 23, 2024
                    at 7:10 PM Pradeep Acharya <<a href="mailto:pradeep.acharya1008@gmail.com" target="_blank">pradeep.acharya1008@gmail.com</a>>
                    wrote:<br>
                  </div>
                  <blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
                    <div dir="ltr">
                      <div>Hi All,</div>
                      <div>  i'm developing an audio conference targeted
                        for more than 100 participants in a conference.
                        I'm using "audiomixer" element to do this. Its
                        working fine if the number of participants is
                        less than 10 . However, I see that the number of
                        threads created are huge.  For each input pad of
                        an audio mixer, one thread is created .like this
                        if there are 100 participants then the number of
                        threads would be 100 (input) and 1 for output
                        from the mixer. Is there any way to reduce the
                        number of threads used by the audiomixer element
                        ? Any other suggestions would be helpful<br>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Sounds like you'd need something like the
                gst-plugins-rs "threadshare" mode, with audio mixing
                support.</div>
              <div><br>
              </div>
              <div>regards,</div>
              <div>Nicolas</div>
              <div><br>
              </div>
              <blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
                <div class="gmail_quote">
                  <blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
                    <div dir="ltr">
                      <div> <br>
                      </div>
                      <div>Thanks & Regards</div>
                      <div><br>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div><span></span></div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>