<div dir="ltr"><div dir="ltr">Hello,<br><br><div>We have a use case where we want to control the queue size before dropping some frames. find code sample attached below.<br><br><b><i>we used</i></b>:<br><ol><li><b>max-size-time</b>=0, <b>max-size-bytes</b>=0. we set them by zero to disable their maximum.</li><li><b>max-size-buffers</b>=50. it's set to 50 before dropping</li><li><b>leaky</b>=2. to drop frames downstream.</li><li>we added an identity element, and attached handoff_callback to memic latency of the downstream elements.</li></ol><div><b><i>Results</i></b></div><div><ul><li>playback is affected by the latency (slow).</li><li>observed queue size did not go beyond 4 buffers.</li></ul><div><b><i>Questions</i></b></div></div></div><div><ul><li>According to the documentation: the queue separates the downstream processing from the upstream processing (since it spawns a thread), why can't the queue reach a size of 50 buffers ?<br></li><li>If there is any alternative solution, please mention.</li></ul></div></div></div>