Fallback Mounts and Airtime
  • Hello
    everyone. Im hoping someone can help me out with the stream hand over
    described in the airtime manual. I have set everything according to the
    manual. Airtime works great and I can tap into the "live" mount point on
    my icecast server. 



    The airtime manual give instructions to setup the stream handover between mount points. 



    <mount> 
    <mount-name>/airtime.ogg</mount-name> 

    <hidden>0</hidden> 

    </mount> 
    <mount> 
    <mount-name>/live.ogg</mount-name> 

    <fallback-mount>/airtime.ogg</fallback-mount> 

    <fallback-override>1</fallback-override> 

    <hidden>0</hidden> 

    </mount> 
    <mount> 
    <mount-name>/stream.ogg</mount-name> 

    <fallback-mount>/live.ogg</fallback-mount> 

    <fallback-override>1</fallback-override> 

    <hidden>0</hidden> 

    </mount>



    That is the code given in the manual. I have noticed that when I type in
    the url for a mount point in my browser in only shows up if something
    is streaming to it. According to this code and the manual I should be
    able to tap into the "stream" mount point and it will direct me to the
    active stream in order. I have not implemented this on my website as of
    yet. Currently, for test purposes we are using the Airtime media player for playback on the site.
    If i point the media player to the URL for the "stream" mount point will it fallback to
    the "live" or "airtime" stream even though nothing is directly streaming
    to the "stream" mount point? Hope my explanation makes sense. I just
    want to make sure i understand the flow of the stream before we
    implement on the site.

  • 4 Comments sorted by
  • Hi,

    "If i type in the URL for the "stream" mount point will it fallback to
    the "live" or "airtime" stream even though nothing is directly streaming
    to the "stream" mount point?"
    As far as I understand, yes, it should. But that's something to do with icecast. I mean it's a icecast feature not Airtime.


    "Currently, for test purposes we are using the Airtime media player"

    I'm not 100% sure what he means by Airtime media player, but I'm
    assuming he's talking about "Live Stream player", One cannot test
    fallback mount on Live stream player, because, it always streams off of
    whatever the mount point that is specified in stream setting. In the example
    case, it will always stream off of airtime.ogg.
  • Yes the Live Stream Player always streams from the mount point specified in the code, however according to the manual if you point to the "stream" mount point it should fallback to the "live" and if nothing is there it should fallback to the "airtime" stream.

    I was hoping to find someone that has actually tried this configuration.

    From the manual:

    These mount point definitions mean that a client connecting to a URL such as
    http://icecast.example.com:8000/stream.ogg will first fall back to the /live.ogg mount point if it is
    available. If not, the client will fall back in turn to the /airtime.ogg mount point for scheduled
    show playout.



  • Yes it will fallback, but if you use live stream player on Airtime interface, it won' work.

    Assuming the above is your icecast config, set the Airtime so it connects to /airtime.ogg mount point.
    Use some OTHER player then the live stream plater on the interface to listen to the /stream.ogg mount point. Then it will play /stream.ogg if there is something, then /live.ogg and then /airtime.ogg
  • Excellent. Thats what I wanted to know. Thanks for responses James.