I have a process which records MP3 clips from a live audio stream. When the stream goes silent, the recording stops, and when it goes live again, a new MP3 begins recording.
I want a client to be able to listen to any MP3, even if it still being recorded. Streaming a complete MP3 file is pretty straightforward. I'm struggling, however, to find out how I could begin streaming a partial MP3 from my server, even while it's still being appended to, and be sure that my user will hear the entire clip (not just the part that existed when the MP3 began streaming). In other words my streaming server needs to be smart enough to know that the MP3 it's streaming is growing.
I've looked into IceCast and Ffserver but haven't been able to find any answers to this question.