<div dir="ltr">Noted, Will give it a try on a large scale!<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam<div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 6, 2023 at 9:11 AM Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.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"><div class="msg-5956206812190316104"><div><div>On Mon, 2023-06-05 at 09:27 -0400, Nicolas Dufresne via gstreamer-devel wrote:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div>Le dimanche 04 juin 2023 à 21:29 +0300, Eslam Ahmed 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><br></div><div>I was wondering if there is a performance difference between using appsrc/appsink via their own API (by linking gstreamer-app) or through signals, which is more performant in large volumes?</div></div></blockquote><div><br></div><div>There shouldn't be much difference. In all cases, the data is placed into the appsrc/sink internal queue (unless when the queue is full were the signal get blocked. Performance wise, there is no difference.</div></blockquote><div><br></div><div>Performance of GObject signals is actually quite bad. That's also why you have to opt-in via a property to get the signals emitted at all.</div><div>Ideally you would use the proper API instead of the signals if performance is important. The signals were only provided for compatibility with bindings.</div><div><br></div><div><span><pre>-- <br></pre><div><div><span style="font-family:Calibri,sans-serif;font-size:14.6667px">Sebastian Dröge, Centricular Ltd · </span><a href="https://www.centricular.com/" title="Click to open https://www.centricular.com/" style="color:rgb(0,0,238);font-family:Calibri,sans-serif;font-size:14.6667px" target="_blank">https://www.centricular.com</a></div></div></span></div></div>
</div></blockquote></div>