I have done streaming with only pulseaudio on both sides.
Pulseaudio for windows password#
You might also want to set up a passwordless login so you don’t have to enter the password every time you stream the audio. It’s a commercial software, but it worths a purchase. In case your Windows machine doesn’t have a sound card or it doesn’t allow you to capture the audio stream, you might want to use Virtual Audio Cable. If SSHD is not running in the PulseAudio server, you can give it a little twist: linco.exe -B 16 -C 2 -R 44100 | ssh.exe "cat - | pacat -server -playback" Instead, it requires a running SSH server. This solution works without module-simple-protocol-tcp, and therefore there’s no need to restart the PulseAudio server on disconnection. I have installed a Cygwin build of OpenSSH, and replaced Netcat with it: linco.exe -B 16 -C 2 -R 44100 | ssh.exe "cat - | pacat -playback" I wrote some script that restarts PulseAudio whenever it dies, but I realized there’s a better solution – OpenSSH. However, PulseAudio dies whenever the connection is closed because of a known issue of module-simple-protocol-tcp.
After adding -L "module-simple-protocol-tcp port=4712 rate=44100 format=s16le channels=2" option to the PulseAudio startup option, I was able to stream audio from Windows to PulseAudio server using the following command: linco.exe -B 16 -C 2 -R 44100 | nc.exe 4712 My first try was to use LineInCode and Netcat for Windows on the client side and to use module-simple-protocol-tcp on the server side. Also, the Win32 binary build didn’t work for me, perhaps because it’s somewhat outdated and buggy. There are a couple known workarounds such as using WinESD, but they are all pretty experimental. However, the biggest problem with PulseAudio is that it doesn’t have a descent client implementation for Windows. It allows me to stream audio between machines. PulseAudio is a great network audio server for Linux.