Last modified on 3 May 2014, at 21:42

Configuring Sound on Linux/Pulse Audio/Remote server

RTPEdit

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

ServerEdit

 $ pactl load-module module-rtp-recv

ClientEdit

VLC 
RTP docs

TCPEdit

Only uncompressed audio is supported.

Configuring the ServerEdit

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=192.168.1.138

Configuring the ClientEdit

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

$ PULSE_SERVER=192.168.1.146 totem