Syntax highlighting of
Streaming
= Audio Streaming =
We currently capture audio from an external USB audio device. The audio is captured on the laptop, converted to OGG/Vorbis, saved to disk and also sent to the local Icecast server for streaming to the Internet:
{{{gst-launch-1.0 --eos-on-shutdown autoaudiosrc ! queue ! audioconvert ! queue \
! vorbisenc ! queue ! oggmux ! queue ! tee name=oggx ! queue ! \
shout2send ip=127.0.0.1 port=8000 password=[password] mount=/stream.ogg \
oggx. ! queue ! filesink sync=false location=~/annex/fsm-2015-05-21.ogg}}}
Since the Icecast server is behind a firewall, we make it publicly visible using the Pagekite proxy service:
{{{pagekite.py 8000 fsm.sturm.pagekite.me}}}