<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi,<div><br></div><div>I am currently developing a daemon that aggregates various AV streams, produces a combined stream of camera and presentation, and seperate streams for camera and presentation for our Live-streaming and VoD service at TUM (<a href="https://tum.de/">https://tum.de/</a>) called TUM-live (<a href="https://tum.live">https://tum.live</a>). All streams are seperate GStreamer pipelines and managed by the GStreamer RTSP server as mount points.</div><div><br></div><div>As I have multiple pipelines using the same streams, I opted to use intervideo* and interaudio* elements for clean separation between source pipelines, and</div><div>Pipelines managed by the GStreamer RTSP server.</div><div><br></div><div><b>The Problem</b></div><div><p data-sourcepos="1:1-1:123" dir="auto">When using interaudiosink and interaudiosrc, I experience strange audio artefacts and skipping when more than one interaudiosrc elements are listening to a interaudiosink channel.</p><p data-sourcepos="1:1-1:123" dir="auto">This is an isolated example of a GStreamer audio issue that exists when using interaudio* elements for pipeline seperation.</p><p data-sourcepos="1:1-1:123" dir="auto">You can find the test code here: <a href="https://gist.github.com/hmelder/4a30bbee0748c48a2263d5233b2f3508">https://gist.github.com/hmelder/4a30bbee0748c48a2263d5233b2f3508</a></p><ul data-sourcepos="3:1-9:0" dir="auto"><li data-sourcepos="3:1-3:52"><font face="Menlo">OS: NixOS 23.05.4076.8a4c17493e5c (Stoat) aarch64</font></li><li data-sourcepos="4:1-4:16"><font face="Menlo">Kernel: 6.1.55</font></li><li data-sourcepos="5:1-5:26"><font face="Menlo">CPU: Apple M1 Pro (Virt)</font></li><li data-sourcepos="6:1-6:16"><font face="Menlo">Memory: 8.0GiB</font></li><li data-sourcepos="7:1-7:32"><font face="Menlo">gst-launch-1.0 version: 1.22.5</font></li><li data-sourcepos="8:1-9:0"><font face="Menlo">GStreamer: 1.22.5</font></li></ul><p data-sourcepos="10:1-10:220" dir="auto">Everything works as normal when starting the first and second pipeline. When we start a new instance of the third pipeline (different port) skipping and audio artefacts start appearing on the first and second UDP stream.</p><p data-sourcepos="10:1-10:220" dir="auto"><ol class="MailOutline"><li><font face="Menlo">audiotestsrc is-live=1 ! capsfilter caps=audio/x-raw,format=S16LE,layout=interleaved,channels=2 ! queue ! interaudiosink channel=audio</font></li><li><font face="Menlo">interaudiosrc channel=audio0 ! queue ! audioconvert ! audioresample ! opusenc ! rtpopuspay ! udpsink host=127.0.0.1 port=5000</font></li><li><font face="Menlo">interaudiosrc channel=audio0 ! queue ! audioconvert ! audioresample ! opusenc ! rtpopuspay ! udpsink host=127.0.0.1 port=5001</font></li></ol><div><font face="Menlo"><br></font></div><div>This problem does not occur when using a tee element and just one pipeline.</div><div><font face="Menlo"><br></font></div><div><font face="Menlo"><b>Demonstration</b></font></div><div><font face="Menlo"><b><br></b></font></div><div>Here is a small demonstration video:<font face="Menlo"> </font><a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/uploads/8fe06d0c8469ac54e302246c6d0a87e5/gstreamer-audio.mp4">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/uploads/8fe06d0c8469ac54e302246c6d0a87e5/gstreamer-audio.mp4</a> </div><div><br></div><div>I am fairly new to AV and GStreamer, and would appreciate any help :)</div><div><br></div><div>Best Regards</div><div><br></div><div>Hugo Melder</div></p></div></body></html>