I would like to have an airtime server have a feed go out to multiple (separate) icecast servers. Perhaps as many as 15. My servers will be in the cloud. Airtime seems to only support 3 output feeds. Is there any way to have more output feeds than 3? If not, is it possible to run more than one instance on the same server so I could run, for example, 5 instances to feed 15 servers? Thank you.
I would like to have an airtime server have a feed go out to multiple (separate) icecast servers. Perhaps as many as 15. My servers will be in the cloud. Airtime seems to only support 3 output feeds. Is there any way to have more output feeds than 3?
You can do it thru scripting in LiquidSoap.
If not, is it possible to run more than one instance on the same server so I could run, for example, 5 instances to feed 15 servers? Thank you.
Thru some kind of virtualization engine. But source programs will not be the same.
Icecast is designed to do this for you. Icecast has a relay feature to sent output to a chain of other icecast servers. It can even load balance them. Checkout RELAY in the Icecast docs.
Post edited by John Chewter at 2015-02-27 07:19:56
Icecast can also play an emergency feed if the primary feed fails (eg Airtime). Folks could use this instead of the LiquidSoap fall-back scripts. But they don't.
Fred, why can't you run multiple instances? I have done this with icecast. Where can I find LiquidSoup fall-back scripts if I choose that route? Thank you.
Hi John, Do you have sample config, "icecast.xml" files you could send me? I see the relay function, but not load balancing. Also, how is the "play emergency feed" best configured? Thank you.
You can have multiple instances of Airtime running on the same hardware server thru some kind of virtualization system. That's the way we are working, all of them pointing to the same separate icecast server. But each Airtime instance is running it's own radio program. I don't think it would be possible to reliably synchronise all instances to broadcast the exact same program.
If you need to have more than 3 streams encoded differently, the easy way is to hack LiquidSoap script: http://savonet.sourceforge.net/
Be aware that there is no "magic" script that will work instantly in your case. Once again, be more precise on your needs in order for us to help you.
You could, IF you set AirTime to relay a live broadcast, which is possible. But it would be easier to set up Icecast instances to do this instead, frankly.