I'm starting on a bit of a long term project (for myself) to implement dead air detection with an icecast stream.<br>
Basically at the location where we have icecast implemented it's a
radio studio and it'll be good if we have the system automatically
detect if the dj output is dead.<br>
<br>
To which I am firstly posting on here to find out if anyone's already implemented such a system and for me to save time.<br>
<br>
So implementation? I'd plan to detect the dead air on the stream
itself, I considered listening to the audio stream directly off the
sound card, however this leads to a less portable solution and would be
of less use to other people.<br>
<br>
So pretty much I intend to listen to the icecast stream and take
samples every 15 seconds, compare for dead air and if necessary start a
30 second timer checking if dead air still exists.<br>
If it does exist then redirect all existing users to the substain
stream (setup on mpd already) and then use a relay to redirect new
users.<br>
<br>
I also intend to use pygtk to write an application for the studio pc to
warn deejays that dead air has been detected and let them be able to
tell the system not to switch over.<br>
<br>
Anyway what I'd like to know from the icecast dev's is if there are
existing functions/libraies within icecast that support mainly audio
sampling within 15 seconds. I'd prefer to start off using the functions
already availiable and build upon them.<br>
<br>
Cheers<br>