Don't know if this is the proper place for this question ... I'm setting up an audio stream from a public radio station's studios to a remote transmitter. We're using icecast for the server, and it's performed remarkably well (it's been up for over two years now). I need a client for the remote location. Requirements are it must run on linux, come up at boot, operate as a daemon (no shell account required), and if the stream goes down it must try to regain it until it does no matter why or how long the stream was down. I've been playing with ogg123, doing things like putting it in the background on boot NOHUP, embedding it in an infinite loop script, etc. but it isn't up to the job. Normally (AFAICT) ogg123 dies when it loses the stream, but several times we've seen it running on the client after a stream loss. Any advice or recommendations would be highly appreciated. -- Jeff Simmons jsimmons@goblin.punk.net Simmons Consulting - Network Engineering, Administration, Security "You guys, I don't hear any noise. Are you sure you're doing it right?" -- My Life With The Thrill Kill Kult
Jeff wrote:> I need a client for the remote location. Requirements are it must run on > linux, come up at boot, operate as a daemon (no shell account required), and > if the stream goes down it must try to regain it until it does no matter why > or how long the stream was down.Jeff I'm doing exactly what you want, but with MP3. My system is feeding 5 FM stations with SCA repeaters for a reading service for the blind. It runs 24/7. A disconnect is usually detected within a second or two and automatically reconnects. It will survive outages of any length and I've had one client machine go untouched by humans for more than two years now. Keep in mind that there will be discontinuities in program material with even the slightest dis/reconnect event. Latency in the path varies constantly, so you might have a repeated section or lost section of audio across a reconnection sequence. But I have it regularly go days without any such events. My streaming client is MPG123 and the solution is specific to that. I'm quite sure there is no Ogg-Vorbis support as MPG123 is obsolete and no longer supported. However, the technique might be able to be adapted to some other command-line player. Contact me off-list if you want to know more. Regards -- Dick Trump dtrump1@triadav.com
On Wed, Oct 24, 2007 at 09:07:47PM -0500, Dick Trump wrote:> My streaming client is MPG123 and the solution is specific to that. I'm > quite sure there is no Ogg-Vorbis support as MPG123 is obsolete and no > longer supported.Are you sure? http://www.mpg123.de/download/ mpg123-0.67.tar.gz 07-Aug-2007 02:10 637K PS. You don't need to CC the individual you're replying to when you make a reply to a mailing list. -- Paul Martin <pm@nowster.org.uk>