pulseaudio tcp streaming

6 nov 2016

motivation

this is a simple setup for streaming pulseaudio streams over the network.

server

https://github.com/openlab-aux/vuizvui/blob/master/machines/labnet/labtops.nix#L26

hardware.pulseaudio = {
  enable = true;
  tcp.enable = true;
  tcp.anonymousClients.allowedIpRanges = [ "172.16.0.0/16" ];
  zeroconf.publish.enable = true;
};

client

pulseaudio.zeroconf.discovery.enable=true;

to use the new setup simply play some music and in pavucontrol you can select a different output device for the listed stream.

article source