pipewiresrc timeout with no connections (autoconnect = false)
- PipeWire version (
pipewire --version
): 0.3.81 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): yocto - Desktop Environment: none
- Kernel version (
uname -r
): 6.4.0-linaro-lt-qcom+
Description of Problem:
when creating a gst pipeline using pipewiresrc
the element never pre-rolls and then times out if i dont connect in a short period of time. ideally, the app would stay alive indefinitely without a connection. if i make a connection shortly after I launchthe app, the element behaves as expected. on a related note, if i make a connection but then disconnect and reconnect, the element no longer processes buffers and i have to restart the app.
How Reproducible:
gst-launch-1.0 pipewiresrc client-name=sender autoconnect=false ! audioconvert ! audioresample ! mulawenc ! rtppcmupay ! .send_rtp_sink rtpsession name=session .send_rtp_src ! udpsink host=127.0.0.1 port=50000
Steps to Reproduce:
- launch the app and wait
Actual Results:
Setting pipeline to PAUSED ...
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
Expected Results:
this is the output of pipewiresink
when i pass it stream-properties="stream-properties,node.autoconnect=false"
.
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: