0

is it possible to create a live audio stream based on other audio streams? I'm thinking of a proxy that gets two audio streams (e.g. shoutcast stream), and based on time, switches to one of them. And, if its possible, to have some time for analysis, I would implement some kind of caching so that I can stream the newly created stream time-displaced.

I already had a look on the Shoutcast server but couldn't figure out, how to config the input source as another stream. Maybe there are other projects that can handle this through a interface.

Programming language don't really matters, but Ruby is prefered.

23tux
  • 14,104
  • 15
  • 88
  • 187
  • Yes, it is possible. You need to stitch the streams together yourself. How you do this depends on the codecs used. – Brad Nov 22 '12 at 03:05
  • I'm currently trying with shoutcast streams, but I don't know the codecs they are using. Do you have an example for me? – 23tux Nov 22 '12 at 09:46
  • Play the stream in VLC, right click, and click media info to figure out what the codec is. – Brad Nov 22 '12 at 16:37

1 Answers1

0

I made my own solution with javascript based on nodejs. You can clone the repo (a personal radio app) at https://github.com/23tux/personal_node_radio.

23tux
  • 14,104
  • 15
  • 88
  • 187