Something failing while trying to send pipewire-jack as jackaudiosrc

Hi, I’m trying to use gstreamer on a pipewire-jack jackaudiosrc, but something’s causing the stream to fail. Not sure what the issue is… it could be pipewire/wireplumber but I’m only seeing error logs in gstreamer.

Here’s some logs that seem like they might be relevant :stuck_out_tongue:

[E][83559.382018] mod.rt       | [     module-rt.c:  234 pw_rtkit_bus_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[E][83559.382364] mod.rt       | [     module-rt.c:  234 pw_rtkit_bus_get()] Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[W][83559.382425] mod.rt       | [     module-rt.c: 1031 pipewire__module_init()] could not get system bus: Connection refused
[W][83559.388545] default      | [        thread.c:  101 impl_acquire_rt()] acquire_rt thread:0x7f3c9d2e6b38 prio:-1 not implemented
0:00:00.759858726   110 0x7f3c9dd7f250 INFO              jackclient gstjackaudioclient.c:324:gst_jack_audio_make_connection: activate jack_client 0x7f3c9dc9a9d0
[W][83559.541439] default      | [        thread.c:  101 impl_acquire_rt()] acquire_rt thread:0x7f3c9d2a3b38 prio:-1 not implemented
0:00:00.763216036   110 0x7f3c9dd7f250 INFO              jackclient gstjackaudioclient.c:518:gst_jack_audio_client_new: new client gst-launch-1.0
0:00:00.763317796   110 0x7f3c9dd7f250 INFO              GST_STATES gstelement.c:2816:gst_element_continue_state:<jackaudiosrc0> completed state change to READY
0:00:00.763368073   110 0x7f3c9dd7f250 INFO              GST_STATES gstelement.c:2716:_priv_gst_element_state_changed:<jackaudiosrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.763444185   110 0x7f3c9dd7f250 INFO              GST_STATES gstbin.c:2936:gst_bin_change_state_func:<pipeline0> child 'jackaudiosrc0' changed state to 2(READY) successfully
0:00:00.763511219   110 0x7f3c9dd7f250 INFO              GST_STATES gstelement.c:2788:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.763554963   110 0x7f3c9dd7f250 INFO              GST_STATES gstelement.c:2716:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:00.763711902   110 0x7f3c9dd7f250 INFO              GST_STATES gstelement.c:2796:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:00.763817121   110 0x7f3c9dd7f250 INFO              GST_STATES gstbin.c:2480:gst_bin_element_set_state:<udpsink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.763891032   110 0x7f3c9dd7f250 INFO              GST_STATES gstbin.c:2943:gst_bin_change_state_func:<pipeline0> child 'udpsink0' is changing state asynchronously to PAUSED
0:00:00.763944217   110 0x7f3c9dd7f250 INFO              GST_STATES gstbin.c:2480:gst_bin_element_set_state:<queue1> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.764392004   110 0x7f3c9dd7f250 INFO                    task gsttask.c:516:gst_task_set_lock: setting stream lock 0x7f3c9d696090 on task 0x7f3c9d2e7610
0:00:00.764460186   110 0x7f3c9dd7f250 INFO                GST_PADS gstpad.c:6357:gst_pad_start_task:<queue1:src> created task 0x7f3c9d2e7610
0:00:00.764546541   110 0x7f3c9d69b180 WARN                 jacksrc gstjackaudiosrc.c:313:jack_shutdown_cb:<jackaudiosrc0> error: Jack server shutdown
0:00:00.764691435   110 0x7f3c9d69b180 INFO        GST_ERROR_SYSTEM gstelement.c:2281:gst_element_message_full_with_details:<jackaudiosrc0> posting message: Resource not found.
0:00:00.764774279   110 0x7f3c9d69b180 INFO            audiobasesrc gstaudiobasesrc.c:1227:gst_audio_base_src_post_message:<jackaudiosrc0> subclass posted error
ERROR: from element /GstPipeline:pipeline0/GstJackAudioSrc:jackaudiosrc0: Resource not found.
Additional debug info:
../ext/jack/gstjackaudiosrc.c(313): jack_shutdown_cb (): /GstPipeline:pipeline0/GstJackAudioSrc:jackaudiosrc0:
Jack server shutdown
ERROR: pipeline doesn't want to preroll.
0:00:00.765203926   110 0x7f3c9d69b180 INFO        GST_ERROR_SYSTEM gstelement.c:2308:gst_element_message_full_with_details:<jackaudiosrc0> posted error message: Resource not found.


  • Operating System: Alpine 3.18
  • Device: Docker
  • GStreamer Version: 1.22.12
  • Command line: gst-launch-1.0 -v jackaudiosrc port-pattern=StreamName ! queue ! audioconvert ! audioresample ! opusenc ! rtpopuspay ! queue max-size-bytes=0 max-size-buffers=0 ! udpsink host= port=6000

Looks like it’s this issue…