I am using playbin3
, specifically for streaming audio only.
I want to be able to use this audio as a source for other “audio sinks” within the system. These sinks may not be gstreamer pipelines - so I use the jackaudiosink
as part of the playbin3’s audio-sink
.
This is all fine and dandy when the playbin3 has a valid uri outputting audio.
The problem is that when the playbin3
has no audio to output (for any reason, whether that is an invalid uri, etc), there will be no audio, and therefor no JACK output ports.
So, anything connecting to those JACK ports will not work properly. Even if the playbin3
starts putting out audio, the downstream JACK inputs won’t “reconnect”.
What I am trying to achieve is a playbin3
based pipeline such that there is always audio being output, e.g. silence.
I have been trying some things, but can’t seem to find any way to achieve this, and am wondering if anyone has any insights or input they could offer.