You are not logged in.

#1 2018-06-24 15:52:49

rootofallevil
Member
Registered: 2018-06-24
Posts: 1

Pulseaudio over tcp: avahi services problem

I have configured my setup as described here

I have normal Arch x64 on the laptop (client) and ARM Arch on the Raspberry Pi (server)
The avahi and the pulseaudio is the same on both systems:

$ pulseaudio --version; avahi-daemon --version
pulseaudio 12.0
avahi-daemon 0.7

The problem is that the whole system is only working if I have an open ssh connection from the client to the server.
After both systems start I run

avahi-browse -t --all

on the client with no results. pavucontrol shows no remote sinks
After I establish connection to server over ssh with "ssh alarm@my_server" I get the following output from avahi-browse (still is run from the client side)

$ avahi-browse -t --all
+ wlp2s0 IPv6 alarm@alarm: Built-in Audio Digital Stereo (IEC958) PulseAudio Sound Sink local
+ wlp2s0 IPv4 alarm@alarm: Built-in Audio Digital Stereo (IEC958) PulseAudio Sound Sink local
+ wlp2s0 IPv6 alarm@alarm                                   PulseAudio Sound Server local
+ wlp2s0 IPv4 alarm@alarm                                   PulseAudio Sound Server local

And pulseaudio is working as desired.
After the ssh connection is closed the result of the

avahi-browse -t --all

is once again empty on the clinet side. The output of the "avahi-browse -t --all" on the server side seem to be always correct.

The restart of the avahi daemon on both sides does not help.

Last edited by rootofallevil (2018-06-24 15:58:23)

Offline

Board footer

Powered by FluxBB