After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 602163 - Allow connection to different Jack ports
Allow connection to different Jack ports
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.14
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-17 05:42 UTC by Joseph
Modified: 2014-06-14 15:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joseph 2009-11-17 05:42:33 UTC
It would be nice if gstreamer's jack plugin exported a method that allowed the user to choose which jack port to connect to.

Right now, gstreamer connects to the default system output port, every port, or no port (depending on the "connect" option in the jackaudiosink).  But I would like to connect to a specific port (to jamin's input ports, for example), and right now that's not possible.
Comment 1 Wim Taymans 2009-11-18 16:40:14 UTC
I was told by jack experts that it is better to set the connect property on jackaudiosink to 'none' and to use a script to automatically connect in these cases. Would that work for you too?
Comment 2 Joseph 2009-12-31 22:03:12 UTC
Could you provide some details of how the script would connect gstreamer to jamin's input ports?  I have not been able to figure out how to do that.

I think if it could be done, that would work for me (though I'd still much prefer that gstreamer exported a method that allowed a choice of ports to connect to).
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2010-02-16 11:43:57 UTC
I also think that jack client normaly don't connect. You would use qjackctl to e.g. setup the connection.

Implementation of such an extension would not be that straight forward. You would need to implement childproxy for both jack elements, have a child for each port, implement property probe on the ports. Then the app can check the ports and set the desired target.
Comment 4 Tobias Mueller 2010-06-05 20:39:14 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 5 Sergey Kondakov 2014-06-14 15:09:03 UTC
You can redirect output from selected apps to ports you want (i do that for jamin) with qjackctl and its patchbay feature. BUT the biggest problem with GStreamer is that most apps not only don't honour GS's default sink settings but also don't let you set their options manually. Even gst-play-1.0 behaves in "just sink name or GTFO" way.
Why the hell even it wouldn't get settings from GS's gconf ? Does GS 1.0 even uses 0.10's settings ? Is there a way to set default sink for GS 1.0 ?

When GS's OWN apps don't let you set its settings or reading its config file, you know you in the world of pain. Just setting your output in global GS config and having all your GS apps go where they should without per-each-app redirection would be nice and proper.