Configuring Sound on Linux/Pulse Audio/Remote server
From Wikibooks, open books for an open world
Contents |
[edit] RTP
[edit] Server
$ pactl load-module module-rtp-recv
[edit] Client
[edit] TCP
Unlike RTP which is a compressed stream, TCP is an uncompressed stream. It will require a lot of bandwidth and will not run very well over a wireless connection.
[edit] Configuring the Server
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.
$ pactl load-module module-native-protocol-tcp auth-ip-acl=192.168.1.138
[edit] Configuring the Client
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