hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

How to set pulsesink server ? #250

Open t0k4rt opened 1 year ago

t0k4rt commented 1 year ago

Hi folks, I'm tryong to setup gmrender on docker with a shared pulseaudio server (socket is mounted in my different containers) According to gstreamer documentation (https://gstreamer.freedesktop.org/documentation/pulseaudio/pulsesink.html?gi-language=c#properties) you can use server property to set the pulseaudio server address. But I cannot find a way to configure this property. Could someone have an idea on how to set this ? Thanks for your help !

mill1000 commented 1 year ago

Have a look at issue #115.

TL;DR: There is a command-line option that allows you to manually specify a gstreamer pipeline. You would probably want something like this:

gmediarender --gstout-audiopipe 'audioresample ! pulsesink server=<server_ip>'
t0k4rt commented 1 year ago

Thanks a lot i'll try that !