Skip to content

Instantly share code, notes, and snippets.

@tnibert
Created September 29, 2019 00:52
Show Gist options
  • Save tnibert/90ab530666aa942b9d4925add8dcafd8 to your computer and use it in GitHub Desktop.
Save tnibert/90ab530666aa942b9d4925add8dcafd8 to your computer and use it in GitHub Desktop.
Netcat audio stream
# this is just a dirty hack to play an mp3 over a network, need netcat and mplayer
# on the sending machine (replace localhost with ip):
nc localhost 1234 < x.mp3
# on the playing machine:
nc -l -p 1234 | mplayer -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment