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-YYYY-MM-DD.ogg
}}}
Since the Icecast server is behind a firewall, we make it publicly visible using the Pagekite proxy service. This requires a paid account. The example below uses Ben S's account:
{{{
pagekite.py 8000 fsm.sturm.pagekite.me
}}}