Stream monitor problem

Hi.

I have a question regarding the stream monitor. We have a PC at our radiostation.

Sometimes we want to broadcast outside the studio, so i have setup a “stream monitor” that checks a stream at our laptop that we use over the cellular network.

We use IceCast 2.4.3 and source BUTT. It works fine if I start and stop the stream correctly.

But if the PC shuts down or network drops, then the program want disconnect the stream, and it will just be silence of course.
When I start the stream again the program doesn’t receive it, but it says online with only silence.

I don’t have the knowledge how IceCast-protocol works, but my guess is that when it stops unexpectedly then the program don’t get the “terminate” signal.

So then I need to physically go to my PC to uncheck the stream monitor and check it again on the radiostation.

Is this something that can be solved?

Best Regards.
Mårten Svensson

I believe it is related to a stale TCP connection, and incorrect or missing timeouts.

When you say “the network drops”, do you mean the connection between BUTT and Icecast? Or between Icecast and mAirList? Does the Icecast status page still show the stream as active when this happens?

BUTT and IceCast is on the same computer (the laptop), so it still works if the network is down on the laptop. It’s the connection between IceCast server and the client.

Is there any logs I can check?

Best Regards, Mårten

First thing to try: Play the stream as a “Stream (inifite)” item inside the playlist, then disconnect the network cable or whatever to simulate a network breakdown. Check if there are any messages about timeouts or so in the system log.