You are not logged in.

#1 2020-08-28 05:36:27

Strangiato
Member
Registered: 2020-01-10
Posts: 521

Laptop streams audio over local network. I can't use its own speakers.

Hi
I'm using pulseaudio to stream audio over local network from my laptop to the speakers connected
to my desktop computer. I have configured my machines, both running fully updated Arch, following instructions from wiki:

On the desktop computer, I added these lines to /etc/pulse/default.pa file:

load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-zeroconf-publish

On the laptop I added this line to /etc/pulse/client.conf file:

default-server = 192.168.0.50

And this line to /etc/pulse/default.pa file:

load-module module-zeroconf-discover

pulseaudio-zeroconf is installed and avahi-daemon.service is enabled and running on both machines.

If desktop computer is on, my laptop always streams to its speakers despite remote pulseaudio output is not even available to selection neither in sound settings of Gnome control center nor in pavucontrol. Curiously avahi-discover finds the remote pulseaudio output as expected.

How can I make the remote pulseaudio output available to selection on Gnome and make the laptop speakers usable when desktop computer is on?
Thanks.

Offline

#2 2020-08-28 07:32:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,371

Re: Laptop streams audio over local network. I can't use its own speakers.

What happens if you don't change/set the default server? If I'm reading this right you now tell all pulse calls unconditionally to connect to your remote, but you want a local pulse server AND have that have a remote sink to the speakers.

Offline

#3 2020-08-28 10:11:28

Strangiato
Member
Registered: 2020-01-10
Posts: 521

Re: Laptop streams audio over local network. I can't use its own speakers.

Everything works as expected after I comment "default-server = 192.168.0.50" line.
Intructions currently available in wiki were not clear enough to me. sad
https://wiki.archlinux.org/index.php/Pu … rked_audio

Thank you very much V1del.

Offline

#4 2020-08-28 10:26:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,371

Re: Laptop streams audio over local network. I can't use its own speakers.

Mhm these can definitely be misunderstood, I might take a stab at changing/reviewing those if I find the time over the weekend, fwiw there seems to be some overlap between that and this section here: https://wiki.archlinux.org/index.php/Pu … er_network

However if this [SOLVED] please mark it as such by editing the title in your initial post.

Offline

Board footer

Powered by FluxBB