Stream audio over network
There are many ways to stream audio over network, here is one of the easiest ways :
sudo modprobe snd-aloop index=1 pcm_substreams=1
arecord -fdat -Dplughw:Loopback,1 | ssh -C REMOTE_USER@REMOTE_IP aplay
It stream over SSH, after running above command you should just open your player and configure your player to play over alsa device "plughw:Loopback"
Written by Behnam Ahmad khan beigi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Audio
Authors
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/122092/bub.png)
herrbischoff
110.3K
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/52038/43a40166b5d9fb6828e6c4214e3ba87d.jpeg)
dhilowitz
4.109K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#