Configuring Sound on Linux/Pulse Audio/Remote server

RTP edit

RTP streams use multicast IP adresses like (default) and UDP datagrams for transport. Multicasts are generally not allowed in Internet (blocked by ISPs). RTP is designed for low latency.

Server edit

 $ pactl load-module module-rtp-recv

Client edit

 $ pactl load-module module-rtp-send

TCP edit

Only uncompressed audio is supported.

Configuring the Server edit

This process is rather simple. You will need to load module-native-protocol-tcp. You can optionally specify an auth-ip-acl to permit/blacklist anonymous connections from specific ips or IP ranges (to list more than one, separate by semicolon).

$ pactl load-module module-native-protocol-tcp auth-ip-acl=

Configuring the Client edit

Simply set the environmental variable PULSE_SERVER to the destination and PulseAudio will redirect the stream over tcp to the provided destination.