Multiple airtime instances on one server or ability to have more than 3 feeds..
  • Hello,

    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. 
  • 9 Comments sorted by
  • 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.

    Can you be more precise on your needs?

    Fred

    Etheractis - Digital Online Media
    http://www.etheractis.fr/?-Radio-
  • 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
    No longer using Airtime or Libretime.
  • 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.
    No longer using Airtime or Libretime.
  • 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.
  • This is best asked in the icecast forums. They know far more about it than I do.
    But this might start you off. It's about overflowing icecast servers onto relays
    : http://icecast.imux.net/viewtopic.php?t=7245&sid=4af7e0a7797918fe88e6f77edbd58488
    Post edited by John Chewter at 2015-02-27 16:16:25
    No longer using Airtime or Libretime.
  • 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.

    Fred
    Etheractis - Digital Online Media
    http://www.etheractis.fr/?-Radio-
  • 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.