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
839 stars 204 forks source link

gmrender doesn't gives backup audio to other players #9

Open stilsch opened 11 years ago

stilsch commented 11 years ago

First: Thank you for picking up gmediarender!

Following Problem: After playing music via gmrender-resurrect other mediaplayers (VLC, Totem) can't give out audio. I can reproduce this issue. Only thing that helps so far is rebooting the mashine.

Using: ubuntu 11.10 with latest gmrender-resurrect.

Regards,

Schuft69

hzeller commented 11 years ago

You mean, on the same machine, other media players are not able to play any music ? To reproduce, what is the sound-system you use for gmrender-resurrect ? Pulseaudio or direct Alsa ? Do you stop gmrender-resurecct before trying other media players ?

stilsch commented 11 years ago

Hello,

this is what I'am doing with my HTPC.

I'am not stopping gmediarender sevice before.

I'am using pulseaudio.

Thanks!

hzeller commented 11 years ago

So I am not sure how to help here, because the 'multiple players can use the same sound device' is actually handled at the ALSA or pulseaudio layer, the applications such as VLC or gmediarender can't really influence that. Maybe some of your devices uses ALSA, some pulseaudio and there is a conflict ?

stilsch commented 11 years ago

Maybe. Just wanted to say that I got the same problem on Ubuntu 12.10 now (same machine). Seems like the problem is that pulseaudio doesn't recognizes that gmediarender is playing some sound (because it does not appear under "applications" in audio-menu while playing (but I got now knowledge about how this stuff really works - just guessing :-) ) Maybe it’s a similar bug like this one: https://launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/29760

hzeller commented 11 years ago

Did you configure gstreamer to use pulseaudio ? Otherwise it might just choose some other way to use the audio device (like in the problem you've linked to).

For that to work, you have to install the pulseaudio plugin (I think the package is gstreamer0.10-pulseaudio) and configure gstreamer either with some gnome configuration tools or pass --gstout-audiosink=pulsesink to gmediarender.

rajgole commented 11 years ago

I had the same problem with headless debian wheezy on a dockstar. Pulseaudio solved it. In fact now it can even play two different streams from two applications at the same time. (only did it for testing ;-) ) . I did not have to use any config settings in gstreamer or gmrenderer. I did install gstreamer pulseaudio plugin.