The new version of PulseAudio has some pretty neat new features built in, one of the greatest features is support for Apple AirTunes, which is a protocol that allows you to stream audio to remote devices over a network. Using Pulseaudio server i was able to stream music wirelessly to my laptop from my Desktop.
To complete this, we will need PulseAudio Device Chooser (padevchooser),that is a simple GTK tool which registers an icon in the tray area and allows quick access to some features of the PulseAudio sound server.
Now lets start,
First : install PulseAudio Device Chooser on both machines, to do that go to applications–> Ubuntu software manager
and install PulseAudio Device Chooser
2 – Now go to applications–>Sound&video–>Pulseaudio device chooser
3- In the machine from where you want to play music from ,click on the icon of PulseAudio Device Choose and choose configure Local Sound Server :
Now choose Network server and enable network access as described in the screenshot bellow :
4- Now on the machine from where you want to listen the music click on the icon of PulseAudio Device Choose and choose configure Local Sound Serverand configure Network access as described bellow :
5- Now click on the ico of PulseAudio Device Chooser and select default server
All that remains now is to set the machine you want to stream audio from to use the remote computer’s speakers instead of it’s own. Now click on the headphone jack icon. At the top of the menu you will see a submenu titled “Default Server”. This is where you should now see your remote system listed right at the top and should look something like “unixmen@hostname”. Click it and you are done. All audio played will now be blaring through the other computers sound system.
Listning to “The book of my life” of Sting in my laptop, Streamed from my desktop