From: Martin Fleischer <fleischer.martin@gm...> - 2013-07-12 21:16:51
I'm currently building a web application based on yaws which streams
audio files using the yaws API.
I like to have a continuous stream sending the same data to every
client. Files should be streamed like a playlist, but the order will be
changed dynamically. So the next audio file to stream to the clients
should be selected when the audio file, which is currently playing, ends
(or maybe just some seconds before).
I managed streaming a single file using the API and thinking about a
neat implementation, but everything what comes to my mind seems really
complicated. I'm new to erlang and yaws and hope someone can give me
some hints how to implement my idea.